admin 管理员组

文章数量: 894082

JAVAWeb开发:Tomcat出现The origin server did not find a current representation for the target reso...的问题

在web开发的过程中,看到这一段错误提示,不管是在入门阶段还是已经是web开发阶段。。。

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

老手都会感到很头痛。我也是在使用搭建一个简单的学生管理系统的过程中,出现了这个问题,困扰了我半天时间才搞定的,所以决定有必要写一篇博客,给以后自己也好,还是给其他碰到同样问题的人也好,权当一个警示。
下面上菜。。。。。


当出现404 - The origin server did not find a current representation for the target resource or is not willing to disclose that one exists时,检查一下自己的Tomcat有没有设置好路径

双击Tomcat,进入调节,当然双击前必须先移除Tomcat Server中的项目,这样才可以更改其中的设置,如图:

检查一下Deploy path的路径是否正确,低级错误,引以为戒。

对了,一般修改前要先移除原有的项目,再进行操作。如下:



今天就介绍到这。。。。。

本文标签: JAVAWeb开发Tomcat出现The origin server did not find a current representation for the target reso的问题