& lt; ? The XML version="1.0" encoding="utf-8"?>XMLNS: xsi="http://www.w3.org/2001/XMLSchema-instance"
XMLNS: context="http://www.springframework.org/schema/context"
XMLNS: p="http://www.springframework.org/schema/p"
XMLNS: MVC="http://www.springframework.org/schema/mvc"
Xsi: schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context.xsd
http://www.springframework.org/schema/mvc
http://www.springframework.org/schema/mvc/spring-mvc.xsd "& gt;
Web.xml:
& lt; ? The XML version="1.0" encoding="utf-8"?>XMLNS: xsi="http://www.w3.org/2001/XMLSchema-instance"
Xsi: schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_4_0.xsd"
Version="4.0" & gt;Springmvc Org. Springframework. Web. Servlet. DispatcherServlet ContextConfigLocation The classpath: applicationContext. Xml 1 & lt;/load - on - startup>
Springmvc /& lt;/url - pattern>
Controller:
Start tomcat can start success
But the access controller: direct 404 doesn't even have method execution (background no output information)
Bosses help!!!!!!
CodePudding user response:
CodePudding user response: