web开发报错:The origin server did not find a current representation for the target…
eclipse开发web项目报错:The origin server did not find a current representation for the target…
我用的是eclipse,第一次建web项目,开始运行没问题,然后自己删了项目,重新建一个新的web项目,然后自己新建添加了一个index.html文件,启动服务器运行,一直报错404.经过网上一番折腾依旧404…
回去报错页面,查看报错原因:The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.
大概意思是:源服务器找不到当前资源的表现形式,或者程序本身不愿意公开当前资源.(原谅我英语不好)
找不到资源?我就新建了一个html文件,能找不到什么资源。后来想起来我自己新建项目的时候把index.html建在了WEB-INF文件夹里面。我把他换出来,放到WebContext文件夹里面,重启服务器,运行成功!
原谅我第一次学习web项目,就把自己蠢到了。
还有就是有的朋友在双击服务器修改完服务器信息(如下图),启动服务器后,在tomcat的webapps里面一直找不到自己部署的web项目。原因可能是没有推送。
解决方法:点击服务器,右键Publish,再回webapps文件夹(这个文件夹是你上图deploy path的路径)上就可以找到推送的项目了
进过上面操作还是不行的话,可以试试这个链接比较详细:点击跳转
web开发报错:The origin server did not find a current representation for the target…相关推荐
- 404报错:The origin server did not find a current representation for the target resource解决的两种办法
The origin server did not find a current representation for the target resource or is not willing to ...
- 客户端404The origin server did not find a current representation for the target resource or is not...
最近运行JavaEE项目时,老是在web页面跳转的时候出现客户端404The origin server did not find a current representation for the t ...
- 解决The origin server did not find a current representation for the target resource or is not导致的404问题
今天脑子可能犯浑了,部署项目的时候一直报404,找遍了各种原因,甚至想砸电脑,结果突然发现自己犯了一个非常low 的错误,真的像一头撞死在豆腐上,好了,看下面的报错信息: 如图所示: The orig ...
- java异常 The origin server did not find a current representation for the target resource or is not
The origin server did not find a current representation for the target resource or is not willing to ...
- 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 represen ...
- idea The origin server did not find a current representation for the target resource or is not willi
报40 解决方案
- Spring MVC上传文件后重命名读取不显示,报错已解决(The origin server did not find a current representation for the targe)
上传文件后,重命名保存在本地,再读取时报错:The origin server did not find a current representation for the target resourc ...
- ## 标题 使用eclipse遇到的错误JavaWeb【404,The origin server did not find a current representation for the targ
标题 使用eclipse遇到的错误JavaWeb[404,The origin server did not find a current representation for the target ...
- HTTP Status 404-NotFound(The origin server did not find a current representation ...)
在使用idea搭建mvc项目时候碰到了该问题,配置什么的都没有错,就是在跳转的时候,报404,如下页面: 图片: 解决方案: 原来是因为新增加的页面没有被编译到输出文件当中去,如下图操作,即可解决问题 ...
最新文章
- elementui原生属性_elementUI——主题定制
- zabbix3.2自动发现批量监控redis端口状态
- 【转】[你必须知道的.NET]第二十一回:认识全面的null
- 最新 | Python 官方中文文档正式发布!
- C++ enum 枚举
- 中石油训练赛 - Spiral Matrix(找规律)
- java面试题43要使某个类能被同一个包中的其他类访问,但不能被这个包以外的类访问,可以( )
- TensorFlow: 薛定谔的管道
- 线性系统的Matlab分析函数
- FxFactory 8 Pro for Mac(fcpx/ae/pr视觉特效插件包)
- 阶段3 2.Spring_07.银行转账案例_2 案例中添加转账方法并演示事务问题
- hive窗口函数和hive基础使用
- java求100以内奇数和
- C语言 使用FFT得到信号幅度谱
- 多旋翼无人机构成及其原理详解
- 遥感图像超分辨重建综述
- 播布客教学视频_C学习笔记_7_100内最大的素数(97)
- Birdman Quotes
- 基于Cplex的分支定界
- 李嘉诚传给年青人的53条人生忠告