-
Notifications
You must be signed in to change notification settings - Fork 20
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
Spring Boot 2 vs. Spring Boot 3 - auto-configuration incompatibility #130
Comments
@kwonglau Isn't the solution to simply have both files: |
yes. auto configuration issue is an easy fix. |
The configuration class in the annotation exists since 2.7. |
Are you saying that auto configuration of Eventuate applications is not working because of this problem? One possibility is to update the framework to require 2.7. That's currently the only (non-commercial) supported 2.x version |
Correct. The auto config class doesn’t pick up in spring 3.1.1 unless I use the new annotation. |
I just tried an example (which uses autoconfiguration via the eventuate starters) with 3.1.2 and the build worked (locally): See eventuate-tram/eventuate-tram-sagas-examples-customers-and-orders@3706088 There also this open Spring Boot issue: spring-projects/spring-boot#35044 |
Very strange. I had an autoconfiguration failure on a really small (private) project. I fixed it by changing Tram to use @autoConfiguration. |
I think the behavior is unpredictable. I recall that it was working when I was testing it with spring boot 3.0.1 back in January and it didn’t work when I was testing with spring boot 3.1.1 a few days ago. |
Originally posted by @cer in #129 (comment)
/cc @kwonglau
The text was updated successfully, but these errors were encountered: