ssm项目用mavn整合,能够访问index.jsp,访问http://localhost:8080/myseckill/list.do报错404,怎么回事??
这是spring-web.xml
mvc:annotation-driven/
/context:component-scan
这是web.xml
<?xml version="1.0" encoding="UTF-8"?>
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
version="3.0"
metadata-complete="true">
springmvc
org.springframework.web.servlet.DispatcherServlet
ContextConfigLocation
classpath*:spring/spring-web.xml
1
springmvc
*.do
这是错误代码
WARNING: No mapping found for HTTP request with URI [/myseckill/list.do] in DispatcherServlet with name 'springmvc',页面报错404