tomcat 404 The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.


1.原因

tomcat没有找到项目,因为是用eclipse启动的,不是在tomcat的目录下启动,所以我们需要在eclipse下配置启动目录,好让tomcat找到项目.

 

2.解决

用本地安装的tomcat,并且路径设置为tomcat的路径就可以,这边使用的是默认路径.

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM