构建ssm项目 页面报404
控制台输出No mapping found for HTTP request with URI [/ssmAngular/student/toIndex] in DispatcherServlet with name 'SpingMVC'
路径什么的都没错 结果发现是spring-mvc.xml里面没有配置注解驱动
在spring-mvc.xml里添加<mvc:annotation-driven />即可
构建ssm项目 页面报404
控制台输出No mapping found for HTTP request with URI [/ssmAngular/student/toIndex] in DispatcherServlet with name 'SpingMVC'
路径什么的都没错 结果发现是spring-mvc.xml里面没有配置注解驱动
在spring-mvc.xml里添加<mvc:annotation-driven />即可