Spring MVC PageNotFound.noHandlerFound No mapping found for HTTP request with URI
首先骂人,干他娘的,弄了两个小时原来的包倒错了!!唉TMD。
注意用IDEA倒包的时候一定要注意ModelAndView是
原因是import出错了!!
应该是import org.springframework.web.servlet.ModelAndView;
不小心引入了import org.springframework.web.portlet.ModelAndView;
出处来自:http://zhidao.baidu.com/link?url=TqDu63VLPLfdvSPgu2qMK8LhLPgg8LdwCkugEArz9YwKSgdkdOpo_PLYECe7byNhUWf2S-G5kTWA1DgEzswzJlWs6aZHfPCOX8mEz9S7JxS
感谢这位大神
Spring MVC PageNotFound.noHandlerFound No mapping found for HTTP request with URI的更多相关文章
- Spring Boot, Java Config - No mapping found for HTTP request with URI [/…] in DispatcherServlet with name 'dispatcherServlet'
		
Spring Boot 启用应用: error: No mapping found for HTTP request with URI [/…] in DispatcherServlet with n ...
 - org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI
		
在重启项目中会遇到[org.springframework.web.servlet.PageNotFound] - No mapping found for HTTP request with URI ...
 - spring访问静态资源出错,No mapping found for HTTP request with URI xxx/resources/js/jquery.min.js...
		
问题:spring访问静态资源出错,No mapping found for HTTP request with URI xxx/resources/js/jquery.min.js... web.x ...
 - <context:annotation-config/>和<mvc:annotation-driven/>及解决No mapping found for HTTP request with URI [/role/getRole] in DispatcherServlet with name 'springmvc-config'
		
1:什么时候使用<context:annotation-config> 当你使用@Autowired,@Required,@Resource,@PostConstruct,@PreDest ...
 - springmvc报404错误No mapping found for HTTP request with URI [/mavenSpringmvc/requesttest] in DispatcherServlet with name 'spring'
		
问题404错误的原因有很多种 有这种,后边不带url的 这种一般就是没有进入到controller中 可以在toncat中看到信息 十一月 12, 2018 12:21:25 下午 org.sprin ...
 - org.springframework.web.servlet.PageNotFound  No mapping found for HTTP request with URI [/AssetRepair/assetRepairController/test.do] in DispatcherServlet with name 'assetrepair'
		
web.xml文件配置: xxx-servlet.xml 我们可以发现DispatcherServlet会处理"jsp"后缀的请求;而模型视图后缀也是jsp的 如果这样配置会报以下 ...
 - 【Java/Spring】Spring的配置问题,IDEA报错“No mapping found for HTTP request with URI […] in DispatcherServlet”
		
从SVN上拷贝下JavaWeb项目,Spring框架的配置文件需要修改.部署好Tomcat后,启动服务,可以进入Web项目主页,但是访问其他URL时直接跳转到404,IDEA报错“No mapping ...
 - 完美解决SpringMVC中静态资源无法找到(No mapping found for HTTP request with URI)问题
		
https://blog.csdn.net/kingmax54212008/article/details/79330308 今天遇到一个比较新奇的问题,但是也应该是使用spring MVC框架时由于 ...
 - Spring3中js/css/jpg/gif等静态资源无法找到(No mapping found for HTTP request with URI)问题解决--转载
		
原文地址:http://www.programgo.com/article/96083031845/ 最近项目中使用到Spring3,在感叹Spring3注解配置清爽的同时竟然出现了这个不和谐的事情, ...
 
随机推荐
- 网络流(最大密集度子图,分数规划):UvaLive 3709 Hard Life
			
John is a Chief Executive Officer at a privately owned medium size company. The owner of the company ...
 - unicode编码、字符的转换和得到汉字的区位码
			
一:unicode编码.字符的转换截图 二:unicode编码.字符的转换代码 using System; using System.Collections.Generic; using System ...
 - hdu 1175 连连看 DFS
			
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1175 解题思路:从出发点开始DFS.出发点与终点中间只能通过0相连,或者直接相连,判断能否找出这样的路 ...
 - Theme Section - HDU 4763(KMP)
			
题目大意:给你一个串,从这个串里面找出一个前缀后缀中间相等的串的最大长度也就是 EAEBE,每个字母都代表一个串,E出现了三次,找出最长的那个E. 分析:我们知道KMP里面保存的就是前缀和后缀的最 ...
 - poj1042
			
题目大意:去捕鱼 约翰去参加一个垂钓旅行,他有h小时可以使用在该地区有n (2 <= n <= 25) 个湖泊可以沿着一个单一的路到达,约翰从湖泊1开始,但是它可以在任何湖泊结束他如果想, ...
 - 每个项目单独配置 git 用户
			
git多账号登陆问题 设置git全局设置: git config --global user.name "your_name" git config --global user. ...
 - setState的同步更新
			
react中的setState特点: 是异步操作函数: 组件在还没有渲染之前, this.setState 还没有被调用: 批量执行 State 转变时让 DOM 渲染更快(相对比一个一个的setSt ...
 - 树莓派_Linux串口编程_实现自发自收
			
串口是计算机上一种很通用设备通信的协议,经常使用PC机上包括的是RS232规格的串口,具有连接线少,通讯简单,得到广泛的使用. Linux对全部设备的訪问是通过设备文件来进行的,串口也是这样,为了訪问 ...
 - Android RadioGroup Fragment  Viewpager FragmentPagerAdapter 去哪网Fragment嵌套
			
RadioGroup中的各个选择器 <selector xmlns:android="http://schemas.android.com/apk/res/android"& ...
 - zoj 2112  Dynamic Rankings(主席树&动态第k大)
			
Dynamic Rankings Time Limit: 10 Seconds Memory Limit: 32768 KB The Company Dynamic Rankings has ...