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的问题
版权声明:本文标题:JAVAWeb开发:Tomcat出现The origin server did not find a current representation for the target reso...的问题 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.freenas.com.cn/jishu/1687330165h90289.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论