java - Servlet "newspring" is not available -


Trying to set up a new spring project and this problem gives me this error (HTTP status 404 - Servlet Newspring is not available) When I navigate to a page that I expect to route through the controller.

web.xml

  & lt; Servlet & gt; & Lt; Servlet-name & gt; Springapp & lt; / Servlet-name & gt; & Lt; Servlet category & gt; Org.springframework.web.servlet.DispatcherServlet & lt; / Servlet category & gt; & Lt; Load-On-Startup & gt; 1 & lt; / Load-on-startup & gt; & Lt; / Servlet & gt; & Lt; Servlet-mapping & gt; & Lt; Servlet-name & gt; Springapp & lt; / Servlet-name & gt; & Lt; URL pattern & gt; / Apps / * & lt; / URL pattern & gt; & Lt; / Servlet-mapping & gt;  

So I looked in the logical log and I saw this exception:

SEVERE: Error loading the WebappClassLoader rep: false / repository: / WEB-INF / Classes ----------> Guardian Classloader: org.apache.catalina.loader.StandardClassLoader@a1807c org.springframework.web.servlet.DispatcherServlet java.lang.ClassNotFoundException: org.springframework.web . Servlet.Dispatcher org.apache.catalina.core at org.apache.catalina.loader.WebappClassLoader.loadClass (or WebappClassLoader.java:1387) on org.apache.catalina.loader.WebappClassLoader.loadClass (WebappClassLoader.java1233) on Searchlet . StandardWrapper.loadServlet (StandardWrapper.java:1095) at org.apache.catalina.core.StandardWrapper.load (StandardWrapper.java:993) at Org.apache.catalina.core.StandardContext.loadOnStartup (StandardContext.java:4149)

But the missing class is actually present in spring-webmvc.jar whi

Is it unable to see it here?

Assuming that I Read, the folder should be / WEB-INF / lib , not / WEB-INF / LIBUS - Finally note the lack of S!


Comments

Popular posts from this blog

MySql variables and php -

url rewriting - How to implement the returnurl like SO in PHP? -

Which Python client library should I use for CouchdB? -