No mapping found for HTTP request with URI [/myMaven/student/findSingleStudent] in DispatcherServlet
来源:互联网 发布:逍遥游翻墙软件 编辑:程序博客网 时间:2024/05/22 15:44
这个问题查了好久,最后才发现原来是配置静态资源时出现的问题,记录下来!
在springmvc.xml中配置静态资源:
<!-- 静态资源配置 -->
<mvc:annotation-driven />
<mvc:resources location="/" mapping="/*.html" />
<mvc:resources location="/css/" mapping="/css/*" />
<mvc:resources location="/js/" mapping="/js/*" />
<mvc:resources location="/images/" mapping="/images/*" />
注意:标红部分必须配置,不然会报错!
阅读全文
0 0
- No mapping found for HTTP request with URI [/myMaven/student/findSingleStudent] in DispatcherServlet
- No mapping found for HTTP request with URI [/login.do] in DispatcherServlet with name 'spring'
- No mapping found for HTTP request with URI [/cwgl/department/index] in DispatcherServlet with name
- No mapping found for HTTP request with URI[路径] in DispatcherServlet with name spring3
- 警告: No mapping found for HTTP request with URI [/Springmvc/test] in DispatcherServlet with dispatche
- No mapping found for HTTP request with URI [/...] in DispatcherServlet with name ...的解决方法
- No mapping found for HTTP request with URI [/index.html] in DispatcherServlet with name 'springmvc'
- No mapping found for HTTP request with URI [/springmvc/queryitems.action] in DispatcherServlet with
- 警告: No mapping found for HTTP request with URI [] in DispatcherServlet with name
- Spring : No mapping found for HTTP request with URI in DispatcherServlet with name "..."
- No mapping found for HTTP request with URI [/chart/get] in DispatcherServlet with name 'SpringMVC‘
- No mapping found for HTTP request with URI [/prjName/contro] in DispatcherServlet with name 'spring'
- No mapping found for HTTP request with URI [/index.do] in DispatcherServlet with name 'SpringMVC‘
- No mapping found for HTTP request with URI in DispatcherServlet with name 'XXX'
- No mapping found for HTTP request with URI [...] in DispatcherServlet with name '...'
- No mapping found for HTTP request with URI [/bdp/] in DispatcherServlet with name
- No mapping found for HTTP request with URI [/] in DispatcherServlet with name 'projectname'
- SpringMVC:No mapping found for HTTP request with URI [/account/*] in DispatcherServlet with
- 学吴恩达课程有感
- JavaWeb开发之路4
- SQL 多表查询 JOIN ON
- DB2 偶遇SQL1397N 未能登录 DB2 服务
- PJSIP2.7 Android版本编译及构建pjsua2和pjsua
- No mapping found for HTTP request with URI [/myMaven/student/findSingleStudent] in DispatcherServlet
- 数学笔记11——微分和不定积分
- Android编程权威指南(第二版)— 第13章挑战练习-13.8
- 第一行代码 Git的使用
- 《TCP/IP详解卷一:协议》 概述
- 【数位DP入门】HDU3555 Bomb
- IO流
- 《BI那点儿事》ETL中的关键技术
- [learning materials] quiz on pinyin, stroke, tone and semantics