Skip to content
Advertisement

Tag: spring-boot-devtools

java.lang.IllegalArgumentException referenced from a method is not visible from class loader

I obtained an exception when generated a stub for a WS service by wsimport in /target/class/….. and run a spring boot application with devtools. Caused by: java.lang.IllegalArgumentException: com….Service referenced from a method is not visible from class loader I found that an issue with spring devtools class loader, RestartClassLoader, because of two different references to a Class (RestartClassLoader and AppClassLoader)

Advertisement