美文网首页
Eclipse Oxygen集成自安装tomcat遇到的问题

Eclipse Oxygen集成自安装tomcat遇到的问题

作者: Ethan_Walker | 来源:发表于2017-09-05 22:54 被阅读973次

帮同学用Eclipse exygen 配置tomcat 9 时遇到下面问题

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

解决方案

  1. window->preferences->web services->server and runtime -> 将server runtime 改成对应的 tomcat 9 -> apply->finish


2.但是,由于 eclipse 本身自带 tomcat,它会使用自身的 tomcat服务器,双击 服务器,修改设置如下,将服务器路径设置为tomcat安装目录


image.png

注意: eclipse 默认将项目部署到自己定义的路径下,不是我们安装的tomcat下的webapps文件夹中,可通过上述图片上的 deploy path 修改为自己安装的 tomcat/webapps下

相关文章

网友评论

      本文标题:Eclipse Oxygen集成自安装tomcat遇到的问题

      本文链接:https://www.haomeiwen.com/subject/tvbpjxtx.html