org.springframework.web.se rvlet.DispatcherServlet.noHandlerFound No mapping found for HTTP request

在访问 http://localhost:8080/test/controller/core.do 的时候碰到了org.springframework.web.servlet.DispatcherServlet.noHandlerFound No mapping found for HTTP request with URI 这个问题,页面没有访问到,后来在 ApplicationContext.xml 里面加了如下代码就可以访问了。

配置到你controller的上一层就可以了。

你可能感兴趣的:(java,No,mapping,found,for)