JavaWeb学习总结(五)---在Eclipse中配置Tomcat8.5.4

日期: 2016-8-27


内容: 在Eclipse中配置Tomcat8.5.4


一、查看Eclipse中是否能够配置Tomcat8:

从图中的描述可知最多只能安装Tomcat7的版本。那么疑问就产生了,我机器上安装的是Tomcat8,但是在使用Eclipse之后只能告诉我最高版本只能使用Tomcat7。那么我肯定就不爽了,凭什么这样呢?没关系我们可以很简单的解决这个问题。具体解决步骤如下:


二、 在Eclipse中安装可以配置Tomcat8的插件:


以下内容从学习博客得来。

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
Go to the WTP downloads page, select the latest version (currently 3.6), and download the zip (under Traditional Zip Files...Web App Developers). Here's the current link.
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).
Start Eclipse and you should have a Tomcat 8 option available when you go to deploy. 




简单说:就是去下载一个WTP文件:http://www.eclipse.org/downloads/download.php?file=/webtools/downloads/drops/R3.6.0/I-3.6.0-20140213154746/wtp4x-I-3.6.0- 20140213154746.zip


然后将里面的feature和plugin文件夹拷贝到eclipse里面,覆盖掉。再重启eclipse,你就可以安装tomcat8服务器了

①、下载插件:

这里需要注意的是:以上的下载链接已经失效,随着时间的推移eclip的网站不断更新,因此下载链接失效的失效属于正常,而且这个插件貌似不是很常用,因此这方 面的下载也比较难找。

在找到几个链接给大家参考一下:

  http://archive.eclipse.org/webtools/downloads/drops/R1.5/R-1.5.0-200606281455/

http://www.eclipse.org/downloads/download.php?file=/webtools/downloads/drops/R3.8.0/R-3.8.0-20160608130753/wtp-repo-R-3.8.0-20160608130753.zip&mirror_id=1109

http://download.eclipse.org/webtools/downloads/drops/R3.4.0/R-3.4.0-20120612174739/

我准备验证一下这些链接下载的资源是不是可用。

这个插件下载之后没有办法使用,eclipse中显示的还是只能配置Tomcat7,因此在这里只能先放一下,有可能是要等Eclipse更新之后再看看。

希望有解决方案的小伙伴指教!



评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值