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
Does the JBP support Spring Boot 2.0? #485
Comments
We have not tested against it yet, but given that the way it runs ( |
I actually have a problem with the current M3. But it only happens when MongoDB is used. Cloud Foundry tries to reconfigure the MongoDB connection and runs into a As far as I can see, this is due to breaking changes in the Setup is a basic Spring Boot 2.0.0.M3 app with starters for:
The Project can be found here: Logs Excerpt:
|
Yeah, this is an auto-reconfiguration issue. We depend on a version of Spring Cloud Connectors that might not be ready to go for the major version uprade to Spring Data. @scottfrederick are you aware of this and all that I’ll need to do is start using a new version of the Spring Cloud Connectors? |
I've been updating our Java Test Applications to Boot 2.0. Based on that work, the only thing that seems to have a problem is that the auto-reconfiguration of Spring Data Mongo seems to be broken (API changes). I'll leave this issue open as an indicator of that, and then close it once we've got a fix in place. |
Any estimation when this will be available? Also: are there applicable workarounds for the moment? |
We’re quite close to delivering, but are still waiting for @scottfrederick to do a release of Spring Cloud Connectors. We’ve done significant work to simplify the auto-reconfiguration and upgrade it to use Spring Cloud Connectors 2.x. As part of that work, we submitted a PR to ensure that all configured types were compatible across both Boot 1.x and Boot 2.x. This has been included but is still undergoing testing. Once it is released, we’ll consume it and get a new version of the auto-reconfiguration into the wild. There is no real need for a work around as everything except MongoDB auto-reconfiguration works as expected today. If you are trying to do auto-reconfiguration of MongoDB, there is no work around other than to explicitly configure your application to use the service (which you should be doing anyway; auto-reconfiguration isn’t a good choice for production systems). |
https://spring.io/blog/2017/07/26/spring-boot-2-0-0-m3-available-now
The text was updated successfully, but these errors were encountered: