Tuesday, 19 July 2011

ClassNotFoundException: org.springframework.web.servlet.DispatcherServlet

SEVERE: Error loading WebappClassLoader
context: /jackflow
delegate: false
repositories:
/WEB-INF/classes/
----------> Parent Classloader:
org.apache.catalina.loader.StandardClassLoader@1e63e3d
org.springframework.web.servlet.DispatcherServlet
java.lang.ClassNotFoundException: org.springframework.web.servlet.DispatcherServlet
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1645)

Solution
========
(1)After put the spring-webmvc to the folder lib, then resolved.
*For MAVEN, remember to check package as “war”.

No comments:

Post a Comment