The Exception
Javax.mail. Servlet. ServletException: servlet init () for the servlet [dispatcherServlet] threw the exception
Org. Apache. Catalina. The authenticator. AuthenticatorBase. Invoke (AuthenticatorBase. Java: 490)
Org. Apache. Catalina. Valves. ErrorReportValve. Invoke (ErrorReportValve. Java: 92)
Org. Apache. Catalina. Valves. AbstractAccessLogValve. Invoke (AbstractAccessLogValve. Java: 678)
Org. Apache. Catalina. Connector. CoyoteAdapter. Service (343) CoyoteAdapter. Java:
Org. Apache. Coyote. Http11. Http11Processor. Service (408) Http11Processor. Java:
Org. Apache. Coyote. AbstractProcessorLight. Process (66) AbstractProcessorLight. Java:
Org. Apache. Coyote. AbstractProtocol $ConnectionHandler. Process (853) AbstractProtocol. Java:
Org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun NioEndpoint. Java: (1587)
Org.apache.tomcat.util.net.SocketProcessorBase.run (SocketProcessorBase. Java: 49)
Java. Util. Concurrent. ThreadPoolExecutor. RunWorker (ThreadPoolExecutor. Java: 1149)
Java. Util. Concurrent. ThreadPoolExecutor $Worker. The run (ThreadPoolExecutor. Java: 624)
Org, apache tomcat. Util. Threads. TaskThread $WrappingRunnable. Run (61) TaskThread. Java:
Java. Lang. Thread. The run (748) Thread. Java:
Root Cause
Java. Lang. NoSuchMethodError: org. Springframework. Core. The annotation. AnnotationUtils. ClearCache () V
Org. Springframework. Context. Support. AbstractApplicationContext. ResetCommonCaches (AbstractApplicationContext. Java: 923)
Org. Springframework. Context. Support. AbstractApplicationContext. Refresh (AbstractApplicationContext. Java: 574)
Org. Springframework. Web. Servlet. FrameworkServlet. ConfigureAndRefreshWebApplicationContext (FrameworkServlet. Java: 701)
Org. Springframework. Web. Servlet. FrameworkServlet. CreateWebApplicationContext (FrameworkServlet. Java: 667)
Org. Springframework. Web. Servlet. FrameworkServlet. CreateWebApplicationContext (FrameworkServlet. Java: 715)
Org. Springframework. Web. Servlet. FrameworkServlet. InitWebApplicationContext (FrameworkServlet. Java: 590)
Org. Springframework. Web. Servlet. FrameworkServlet. InitServletBean (FrameworkServlet. Java: 529)
Org. Springframework. Web. Servlet. HttpServletBean. Init (HttpServletBean. Java: 169)
Javax.mail. Servlet. GenericServlet. Init (GenericServlet. Java: 158)
Org. Apache. Catalina. The authenticator. AuthenticatorBase. Invoke (AuthenticatorBase. Java: 490)
Org. Apache. Catalina. Valves. ErrorReportValve. Invoke (ErrorReportValve. Java: 92)
Org. Apache. Catalina. Valves. AbstractAccessLogValve. Invoke (AbstractAccessLogValve. Java: 678)
Org. Apache. Catalina. Connector. CoyoteAdapter. Service (343) CoyoteAdapter. Java:
Org. Apache. Coyote. Http11. Http11Processor. Service (408) Http11Processor. Java:
Org. Apache. Coyote. AbstractProcessorLight. Process (66) AbstractProcessorLight. Java:
Org. Apache. Coyote. AbstractProtocol $ConnectionHandler. Process (853) AbstractProtocol. Java:
Org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun NioEndpoint. Java: (1587)
Org.apache.tomcat.util.net.SocketProcessorBase.run (SocketProcessorBase. Java: 49)
Java. Util. Concurrent. ThreadPoolExecutor. RunWorker (ThreadPoolExecutor. Java: 1149)
Java. Util. Concurrent. ThreadPoolExecutor $Worker. The run (ThreadPoolExecutor. Java: 624)
Org, apache tomcat. Util. Threads. TaskThread $WrappingRunnable. Run (61) TaskThread. Java:
Java. Lang. Thread. The run (748) Thread. Java:
code:
` for springmvc. XML `
<? The XML version="1.0" encoding="utf-8"?>
XMLNS: context="http://www.springframework.org/schema/context"
XMLNS: MVC="http://www.springframework.org/schema/mvc"
Xsi: schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context.xsd http://www.springframework.org/schema/mvc https://www.springframework.org/schema/mvc/spring-mvc.xsd "& gt;
web. XML
"-//Sun Microsystems, Inc.,//DTD Web Application/2.3/EN"
"Http://java.sun.com/dtd/web-app_2_3.dtd" & gt;
ContextConfigLocation