今天在使用Eclipse配置Tomcat的时候发现找了半天找不到Server选项。
经过苦苦研究,得出结论如下:
安装的是for JAVA SE版本 而Server等组件是for JAVA EE版本的,所以没有这个选择。
解决方案有两种:
一、重新安装一个Eclipse for JAVA SE版本的,简单粗暴解决问题,但是又得重新配置变量,还是比较麻烦。但如果你想不怎么操作可以使用此方法。
复制地址到浏览器:https://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/2020-03/R/eclipse-jee-2020-03-R-incubation-win32-x86_64.zip
二、安装Server插件
1.点击【Help】 -> 【Install New Software】
![点击查看原图 1.png](https://www.regular.cc/wp-content/uploads/2023/10/thum-4a471652070960.png)
2.点击ADD
![点击查看原图 _X__3$BV{`HK7F_CVI$LXC9.png](https://www.regular.cc/wp-content/uploads/2023/10/thum-595f1652071038.png)
3.Name填写:“Kepler” repository
Location填写:http://download.eclipse.org/releases/kepler
点击ADD
![点击查看原图 F}4SWWPE)AQ`I@T$H)V1@83.png](https://www.regular.cc/wp-content/uploads/2023/10/thum-36051652071129.png)
4.等待加载出来后找到最下方的Web,XML…..选中后点击next
![点击查看原图 W%$}P_(]NGO[0BGF6TLAIMR.png](https://www.regular.cc/wp-content/uploads/2023/10/thum-7afd1652071390.png)
5.耐心等待,这个过程会非常缓慢 之后一路NEXT,到这一步点击I accept the………后点击Finish
![点击查看原图 5.png](https://www.regular.cc/wp-content/uploads/2023/10/thum-82661652071448.png)
6.点击完成后啥都不要动,网上很多教程说点击Finish后重启即可,但是这时候其实再重新下载,一定要等他自己出现重启的时候再操作!!
![点击查看原图 QQ截图20220509123922.png](https://www.regular.cc/wp-content/uploads/2023/10/thum-25181652071606.png)
点击重启就再看就有Server选项了!
![点击查看原图 7.png](https://www.regular.cc/wp-content/uploads/2023/10/9eb91652071661.png)
© 版权声明
文章版权归作者所有,未经允许请勿转载。
THE END