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

帮同学用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


    Eclipse Oxygen集成自安装tomcat遇到的问题_第1张图片

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


Eclipse Oxygen集成自安装tomcat遇到的问题_第2张图片
image.png

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

你可能感兴趣的:(Eclipse Oxygen集成自安装tomcat遇到的问题)