https://issues.apache.org/bugzilla/show_bug.cgi?id=56126
--- Comment #3 from Nick Williams <nicho...@nicholaswilliams.net> --- Joonas, hopefully this information will help you some: Traditionally, Spring Framework has provided the TomcatInstrumentableClassLoader (which extends Tomcat's standard WebappClassLoader) that enables load time weaving in Tomcat. In order to use Spring Framework's load time weaving, you had to configure Tomcat to use the TomcatInstrumuntableClassLoader instead of Tomcat's standard WebappClassLoader. Undoubtedly this is what you are used to. Significant changes were made to the WebappClassLoader in Tomcat 8.x. Many of these changes are incompatible with Spring's TomcatInstrumentableClassLoader. For example, the new WebappClassLoader is now instrumentable on its own, without being extended. How WebappClassLoader handles resources has also changed significantly, which may also have broken the TomcatInstrumentableClassLoader. To resolve these problems, you should not use the TomcatInstrumentableClassLoader anymore. If you want to use Tomcat 8.0, you need to upgrade to Spring Framework 4.0 and remove the TomcatInstrumentableClassLoader from the context file. Spring will automatically detect the instrumentable WebappClassLoader, and it will then automatically configure the new TomcatLoadTimeWeaver as a result. I hope this helps. -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org