如何在不安装整个 WTP 包的情况下将 Tomcat 8 添加到 Eclipse Kepler

2022-01-16 00:00:00 eclipse-plugin java tomcat eclipse

好的,我正在使用 Eclipse Kepler 运行.今天尝试为 Tomcat 8 设置它,但适配器不会出现在列表中.

谷歌了一下,在 ):

  • 等待依赖解决:

  • 完成安装过程,重启Eclipse,尝试配置新服务器:

希望这会有所帮助..

Ok I am running with Eclipse Kepler. Tried today to set it up for Tomcat 8, but the adapter won't appear in the list.

Googled a bit and found tutos on SO, nixmash and vitalflux, which all sum up the same way: download the last 3.6 Eclipse WTP and unzip it in your eclipse directories.

But I don't want a whole upgrade of my Kepler to the Luna WTP version (In my understanding, this is what would actually happen). I am looking for a way to pick only the server adapters. How do I do that?

解决方案

After experimenting by myself, I came up with the following solution:

  • Go to the "Install New Software..." menu

  • Use the Luna WTP url but select only the adapters (http://download.eclipse.org/webtools/repository/luna):

  • Wait for the dependencies to be resolved:

  • Complete the installation process, restart Eclipse, try to configure a new server:

Hope this helps..

相关文章