开发java web报错:The origin server did not find a current representation for the target resource or is n
来源:互联网 发布:mac系统iso镜像下载 编辑:程序博客网 时间:2024/06/15 22:46
本人环境:win10 eclipse+tomcat8+jdk 1.8
解决方案:
第一步:查看tomcat 服务器。双击窗口中服务器 ,看到 server locations 选项为灰色,不可选 ,且为第一个:
第二步:删除服务器里面的项目,重启服务器。发现第二个可选。重新build 后 ,访问还是不能访问,报同样的错误,但是 localhost:8080已经可以访问了。不报错了。
第三步:检查jsp文件 。确认jsp文件是否是在webcontent下。在某个文件夹下要加上文件夹名
第四步:还是不行的时候,找到tomcat\bin 下的tomcat.exe或者tomcatw.exe以管理员身份运行。
阅读全文
1 6
- 开发java web报错:The origin server did not find a current representation for the target resource or is n
- The origin server did not find a current representation for the target resource or is not willing to
- The origin server did not find a current representation for the target resource or is not willing to
- java学习笔记20170705 The origin server did not find a current representation for the target resource or
- Tomcat 404 error: The origin server did not find a current representation for the target resource or
- Tomcat服务器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 …………
- IDEA的javaweb项目的 The origin server did not find a current representation for the target resource
- zabbix server 报错 zabbix server is not running: the information displayed may not be current
- zabbix监控报错zabbix server is not running: the information displayed may not be current
- The use of "." or not for current directory, in Java
- "The target '__Page' for the callback could not be found or did not implement ICallbackEventHandler."的解决办法
- DevExpress Exception Solution - The target "X" for the callback could not be found or did not implement ICallbackEventHandler
- IIS无法启动,报错:The service did not respond to the start or control request in a timely fashion.
- springMVC上传文件报错:The current request is not a multipart request
- 上传文件报错:The current request is not a multipart request] with root cause
- (git问题)解决The current branch is not configured for pull No value for key remote.origin
- 【JAVA】Eclipse中使用git进行pull远程代码,报错The current branch is not configured for pull No value for key branc
- 二叉树算法Python(二)+机器学习概念问题(二)
- Andriod 从源码的角度详解View,ViewGroup的Touch事件的分发机制
- 链表的插入
- Android 向右滑动销毁(finish)Activity, 随着手势的滑动而滑动的效果
- 网络编程第一步:时间戳----python3
- 开发java web报错:The origin server did not find a current representation for the target resource or is n
- python基础-时间日期处理小结
- poj-青蛙的约会
- 用JTAG将mcs文件烧写到flash中
- 2017/8/13 jq编写插件方法
- 使用RTSP判断摄像机设备是否在线以及快照抓取
- C++笔试题 String类的实现
- JNI调用里面的多线程
- [Codeforces Round #428 DIV2E (CF839E)] Mother of Dragons