如何使eclipse支持tomcat8

如题,在网上找了好多方法,终于找到一个可行的了,方法如下:
转载自:http://stackoverflow.com/questions/17868232/how-to-use-tomcat-8-in-eclipse
The latest version of Eclipse still does not support Tomcat 8, but you can add the new version of WTP and Tomcat 8 support will be added natively. To do this:

* Download the latest version of Eclipse for Java EE
* Go to the WTP downloads page, select the latest version (currently 3.6), and download the zip (under Traditional Zip Files...Web App Developers). http://download.eclipse.org/webtools/downloads/drops/R3.6.0/R-3.6.0-20140602160322/.
* Copy the all of the files in features and plugins directories of the downloaded WTP into the corresponding Eclipse directories in your Eclipse folder (overwriting the existing files).

在命令行执行eclipse -clean来打开eclipse
这里写图片描述
you should have a Tomcat 8 option available when you go to deploy.
如何使eclipse支持tomcat8_第1张图片

搞定!

你可能感兴趣的:(eclipse)