文章目录
-
- SpringMVC入门实例
- 404错误:The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.
- 控制台提示错误:通配符的匹配很全面, 但无法找到元素 'mvc:annotation-driven' 、 'context:component-scan' 的声明
- 控制台提示错误:org.springframework.web.servlet.PageNotFound.noHandlerFound No mapping found for HTTP request with URI
- 关于静态页面JSP、HTML等文件放置路径
SpringMVC入门实例
使用Intellij IDEA作为开发工具的童鞋可以参考下面的文章进行学习。在这里我主要讲我遇到的问题及解决方法。
404错误:The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.
这个错误的意思是找不到文件。
对于我的问题,导致的原因是两个:
对于上述两个原因的解决方法如下: