【SpringMVC】Marking servlet dispatcherServlet as unavailable org.apache.catalina.core.StandardContext.loadOnStartup Servlet [springDispatcherServlet] in web application [] threw load() exception
时间:2017-08-16 19:51:43
收藏:0
阅读:6177
Marking servlet dispatcherServlet as unavailable
org.apache.catalina.core.StandardContext.loadOnStartup Servlet [springDispatcherServlet] in web application [] threw load() exception Java.lang.ClassNotFoundException:
org.springframework.web.servlet.DispatcherServlet
除过jar包不存在外, 还有这种可能:
注:两种方式均已将jar包add buildpath
采用第一种存放jar包方式时,会出现以上java.lang.ClassNotFoundException: org.springframework.web.servlet.DispatcherServlet异常,浏览器中表现为404,改为第二种方式则正确运行。
原文:http://www.cnblogs.com/WalkerSteve/p/7375068.html
评论(0)