遇到开不开jsp页面,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服务器进入配置页面

Tomcat运行Servlet,JSP页面请求转发报错解决方法

Server Locations不可选,删除服务器,重新配置Tomcat。


2.检查jsp文件是否在WebContent目录下,如果在其他目录,剪切到WebContent目录下


3.检查Servlet逻辑代码,并且检查是否在web.xml下配置Servlet,如果未配置对应Servlet,则配置,如下图:Tomcat运行Servlet,JSP页面请求转发报错解决方法

相关文章:

  • 2022-02-04
  • 2021-11-30
  • 2021-09-17
  • 2022-01-27
  • 2021-12-05
  • 2021-12-05
  • 2021-12-05
  • 2022-12-23
猜你喜欢
  • 2021-09-13
  • 2021-05-19
  • 2022-01-16
  • 2022-12-23
  • 2021-09-25
  • 2021-04-02
相关资源
相似解决方案