Eclipse WTP plugin no Apache Tomcat adapter

匆匆过客 提交于 2019-12-29 18:20:49

问题


I am using Galileo Eclipse, I downloaded WTP plugin, but no Apache Tomcat plugin when I try to add Tomcat server...

any quick idea?


回答1:


In WTP you can download plugins for many different web container or Java EE application servers.

To do so go to Window => Preferences => Server => Runtime Environments => Add... Select the server(s) you want to work with.

However, as Raghuram as pointed out, you'd probably be better off starting from the 'Eclipse for Java EE developers` altogether. This is because WTP is built on top of many 'infrastructure' plugins such as EMF and the dependencies are sometimes wobbly because all these plugins evolve in a parallel manner... and more often than not, API change ;-)




回答2:


Depending on how you installed it, you might have skipped the "JST Server Adapters" (org.eclipse.jst.server_adapters.ext) and "JST Server Adapters Extensions" feature that actually contains the Apache Tomcat support.




回答3:


I met the same problem before but my eclipse is indigo and also downloaded WTP... orz no tomcat found. However, I resolved by doing following:

  1. Go to Help > Install New Software...
  2. From the Work With, select "Indigo - http://download.eclipse.org/releases/indigo"
  3. From the list, select "Web, XML, and Java EE Development"
  4. Then select "JST Server Adapters"

After installed this, when I add New Server, I can see Tomcat available for selection. :) hope this helps too~




回答4:


As akavel said, make sure "JST Server Adapters Extensions" are installed too. Tomcat didn't show up for me until I installed that plugin.




回答5:


I had the same issue. I used @sibley solution but tomcat8.5 and over were missing. To correct that I had to click on Help>Check for Update. This will bring all missing tomcat



来源:https://stackoverflow.com/questions/5066088/eclipse-wtp-plugin-no-apache-tomcat-adapter

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!