今天在用eclipse写servlet时在eclipse部署tomcat中运行出现404的状态

解决status:404,The origin server did not find a current representation for the target resource...

解决方法:

1、先把下图中用过tomcat的项目右键Remove掉

解决status:404,The origin server did not find a current representation for the target resource...

2、然后,双击tomcat

解决status:404,The origin server did not find a current representation for the target resource...

3、进入如下界面,默认Server Locations勾选的第一个选项,给他改成勾选第二个选项,如果选项还是灰色的不能操作就右键tomcat,再次clean一下就可以了。勾选完保存重启就好啦。

解决status:404,The origin server did not find a current representation for the target resource...

相关文章:

  • 2021-11-27
  • 2021-09-15
  • 2021-12-03
  • 2021-06-19
  • 2021-04-30
  • 2021-11-12
  • 2021-09-15
猜你喜欢
  • 2021-08-07
  • 2021-04-21
  • 2021-09-26
  • 2021-11-28
  • 2021-11-05
  • 2021-09-30
相关资源
相似解决方案