- If using SpringFramework, try to add this in applicationContext.xml
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns=" http://www.springframework.org/schema/beans " default-lazy-init="true" ... - If using SpringFramework 3.x or above and enable servlet 3.0, add this in web.xml and update the spring-web-x.x.x.RELEASE.jar
web.xml: metadata-complete="true"spring-web-x.x.x.RELEASE.jar:Remote the file : \META-INF\services\javax.servlet.ServletContainerInitializer。to disable auto-scanning web config in servlet3.0 - Upgrade JDK/JVM to the latest version
- Disable Xdoclet Maven Plugin