noHandlerFound:org.springframework.web.servlet.DispatcherServlet.noHandlerFound

DispatcherServlet.java(noHandlerFound:org.springframework.web.servlet.DispatcherServlet.noHandlerFound(DispatcherServlet.java:1147)) - No mapping found for HTTP request with URI [/WEB-INF/jsp/hello.jsp] in DispatcherServlet with name ‘springmvc’

noHandlerFound:org.springframework.web.servlet.DispatcherServlet.noHandlerFound_第1张图片

解决办法

web.xml

<servlet-mapping>  
  <servlet-name>springservlet-name>  
  <url-pattern>/*url-pattern>  
servlet-mapping>  

改成

<servlet-mapping>  
    <servlet-name>springservlet-name>  
    <url-pattern>/url-pattern>  
  servlet-mapping> 

spring的困惑–
org.springframework.web.servlet.DispatcherServlet noHandlerFound

http://blog.csdn.net/qq_31924435/article/details/71107798

你可能感兴趣的:(JavaWeb基础)