tomcat,idea错误, The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.

这个错误莫名奇妙.
排查

  1. 检查项目虚拟路径, 没有错误.
  2. 检查xml配置, servlet代码, 没有错误.

解决方法:
在tomcat配置项目路径时, 保持为空.如图.

posted @ 2020-10-20 23:19  choco-  阅读(769)  评论(0编辑  收藏  举报