-
Notifications
You must be signed in to change notification settings - Fork 41.1k
Unlike DataSourceAutoConfiguration, DevToolsDataSourceAutoConfiguration assumes that javax.sql.DataSource will always be available #40434
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
Comments
We've not done much testing with JPMS unfortunately. It looks like If I add
|
I suspect spring-projects/spring-framework#32671 (already mentioned) getting fixed would resolve this other issue? or does spring framework need yet another bug? |
I don't think we need another bug, but I suspect we'll need to fix both before we can get devtools to work with JPMS. |
I'm not 100% on this because my module-info set up is weird for testing with this feature variant... but since you're looking into things I'll leave this comment on actuator. I'll try creating a bug/repro in the next week. Saw this after changing spring-projects/spring-framework#32671 (comment)
|
Given that we don't test Devtools, or any of Boot, with JPMS as it isn't a priority, I think we should focus this on the faulty assumption that |
A follow-up to the Spring Framework comments above: There is no obvious "fix" for spring-projects/spring-framework#32671 - it's a fundamental platform limitation rather than some kind of CGLIB legacy that we could do something about. If there is anything concrete that we can improve for |
did this not get fixed in 3.3? just upgraded and hit the problem again. re: javax.sql.DataSource |
The fix was merged forward to 3.3.0. |
ooh, I misread the stack, this issue is |
bug-spring-boot-jpms-40434.tar.gz
note: well of course it's not found... note: discovered trying to start a spring-security-authorization-server that doesn't have any datasources at this time. Just pointing out that not just using web.
related spring-projects/spring-framework#32671 (you'll get this if you remove devtools)
note: it's not clear to me if this is a spring boot error or a spring context error. Feel free to move to spring framework if that's the more appropriate place.
The text was updated successfully, but these errors were encountered: