You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm sorry this is becoming a game of whack-a-mole but I have found another instance of an alternate classloader not being propagated properly similar to #27133.
wilkinsona
changed the title
DatabaseInitializationDependencyConfigurer not using correct classloader
DatabaseInitializerDetector and DependsOnDatabaseInitializationDetector implementations may be instantiated with the wrong ClassLoader
Jul 21, 2021
It appears after this fix I was able to get spring boot running with an alternate classloader. The only small issue outstanding is the LoggingSystemShutdownListener in the spring cloud project. I am able to work around that issue but I proposed a fix here spring-cloud/spring-cloud-commons#972.
I'm sorry this is becoming a game of whack-a-mole but I have found another instance of an alternate classloader not being propagated properly similar to #27133.
The offending line can be found here:
spring-boot/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/sql/init/dependency/DatabaseInitializationDependencyConfigurer.java
Line 165 in dfe91be
This is leading to a ClassNotFound exception on the FlywayDatabaseInitializerDetector class.
The text was updated successfully, but these errors were encountered: