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的路径就可以,这边使用的是默认路径.

 

posted @ 2019-08-13 11:15  随意的马蒂洛克  阅读(2884)  评论(0编辑  收藏  举报