admin管理员组

文章数量:1612097

解决项目启动后404的问题

问题描述The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.
  出现这个问题可能是犯了一种最低级的错误,为了能帮部分新手解决问题,故写了这篇博客
  出现这个错误的原因在于:找不到指定的资源文件。而项目启动后默认找的资源文件是web-app目录下的index.jsp(html)文件。
            
  如果不慎将index.jsp放置在了WEB-INF文件夹下,那必然会报如上错误。
  另外,如果各种资源的位置都放置正确,则应重新启动服务器,看是否能解决问题。

本文标签: 解决方法ServerOriginwebFind