Retry and Repeat extensions functions require addons dependencies, but they are exported as optional and so not included #30
Labels
status/has-workaround
This has a known workaround described
status/need-decision
This issue needs a decision
So this happened after I generated a project with spring initializer. https://start.spring.io/
I added the absolute minimum dependencies in it (see pic):
The outcome is the following dependencies in the pom file:
Motivation
So, when using any of the extension functions for retry or repeats:
We get a nice NoClassDefFoundError:
Desired solution
reactor-extra (
optional "io.projectreactor.addons:reactor-extra:${reactorAddonsVersion}"
) is not an optional dependency but a compile one, same as reactor-core (compile "io.projectreactor:reactor-core:${reactorCoreVersion}"
Considered alternatives
The text was updated successfully, but these errors were encountered: