IDEA 运行SSM 项目 出现的HTTP 404 的问题
在spring-mvc.xml 文件中添加下面代码
<bean class="org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping"></bean>
添加后重新运行项目 成功看到页面
在spring-mvc.xml 文件中添加下面代码
<bean class="org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping"></bean>
添加后重新运行项目 成功看到页面