-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
axon-reactor-spring-boot-starter fails when spring-boot-devtools is on classpath #28
Comments
Thanks for bringing this to our attention @magnusheino. To resolve this for you, you can go three ways:
restart.include.axon-reactor=axon-reactor-${insert-reactor-extension-verion-here}.jar
restart.include.axon-reactor-spring-boot-autoconfigure=axon-reactor-spring-boot-autoconfigure-${insert-reactor-extension-verion-here}.jar I will be closing this issue as the project itself already has seen a solution to this problem. |
Great, I can make that work provided your information. (However, #5 is merged into axon-reactor-4.4.x branch only and is not available in the 4.5-SNAPSHOT release that I guess is coming out of master? Maybe that is intended?) |
Ah, that's definitely not intended. Thanks for spotting this @magnusheino! |
Got the new snapshot. It seems as some expansion has failed? spring-devtools.properties exists, but the content is: restart.include.axon-reactor=axon-reactor-${project.version}.jar ...that causes this error: ... Process finished with exit code 1 |
I've seen this before, but am slightly weirded out by it. I'll reopen this issue to have a gander at it on a later point in time. |
Add maven-jar-plugin to replace the project version in the spring-devtools.properties file Resolves #28
Sorry for the long wait here @magnusheino. I spotted the problem, which was a missing build plugin to ensure the project place holder was replaced by the actual project version. |
axon-reactor-spring-boot-starter 4.5-SNAPSHOT
spring-boot 2.4.1
Remove devtools, and everything starts...
APPLICATION FAILED TO START
Description:
Parameter 0 of method reactiveCommandGateway in org.axonframework.extensions.reactor.autoconfig.ReactorAutoConfiguration required a bean of type 'org.axonframework.commandhandling.CommandBus' that could not be found.
Action:
Consider defining a bean of type 'org.axonframework.commandhandling.CommandBus' in your configuration.
Process finished with exit code 0
The text was updated successfully, but these errors were encountered: