idea 启动tomcat成功,但是报No mapping found for HTTP request with……
来源:互联网 发布:闪迪cf卡数据恢复 编辑:程序博客网 时间:2024/06/01 10:25
首先idea部署项目与myeclipse(或者eclipse略有不同)并不会真正将项目部署到tomcat下,而是是有独有tomcat配置文件:
C:\Users\···\.IntelliJIdea2017.1\system\tomcat\项目
例如:C:\Users\BaoGe\.IntelliJIdea2017.1\system\tomcat\Unnamed_osaProxy_4
使用的部署项目的位置查看方法:
C:\Users\*\.IntelliJIdea2017.1\system\tomcat\对应项目\conf\Catalina\localhost\ROOT.xml(或者项目访问的path名)
例如:C:\Users\BaoGe\.IntelliJIdea2017.1\system\tomcat\Unnamed_osaProxy_4\conf\Catalina\localhost\osaProxy.xml
解决方案:
1.根据实际部署项目的地址,查看项目是否部署了相关的配置文件(一般就是这个原因)
将目录(C:\Users\···\.IntelliJIdea2017.1\system\tomcat\)下的项目配置目录删掉,可能是缓存的问题
2.创建spring moudle
idea 工具尽管很好用,现在使用的人并不是太多。遇到相关问题网上的解决方案还是很少,网友如果遇到问题直接评论
阅读全文
0 0
- idea 启动tomcat成功,但是报No mapping found for HTTP request with……
- IDEA启动WEB项目访问Controller一直提示错误:No mapping found for HTTP request with URI [xxxx] in DispatcherServlet
- springMVC报WARNING: No mapping found for HTTP request with URI [/springMVC/hello] in DispatcherServle
- springMVC 报404 No mapping found for HTTP request with URI [/ssmAngular/student/toIndex] in Dispatch
- @Controler注解未生效报No mapping found for HTTP request with URI 错误
- STS error: No mapping found for HTTP request with URI
- Spring MVC No mapping found for HTTP request with URI
- No mapping found for HTTP request with URI
- No mapping found for HTTP request with URI
- no mapping found for http request with uri
- spring No mapping found for HTTP request with URI
- mark springmvc [No mapping found for HTTP request with URI]
- 不一样的No mapping found for HTTP request with URI
- No mapping found for HTTP request with URI
- springMVC No mapping found for HTTP request with URI
- No mapping found for HTTP request with URI
- No mapping found for HTTP request with URI
- springMVC No mapping found for HTTP request with URI
- JS判断ios系统的版本号
- layout_constraintDimensionRatio中 H与W的区别
- 软件测试的十大原则
- 监听软键盘回车
- Android Studio手动导入库的两种方法
- idea 启动tomcat成功,但是报No mapping found for HTTP request with……
- 如何在PHP中防止SQL注入?
- JavaWeb之使用Servlet3.0实现文件上传案例
- c++之多态基础知识
- 3态复选框CheckBox
- Mybatis自定义类型转换器
- 发布跨平台INI文件读写API(C版本) V0.2.0
- http请求响应
- 英国拨款8400万英镑资助AI研究与智能能源创新