背景:
java开发人员在下载eclipse(Eclipse Packages | The Eclipse Foundation - home to a global community, the Eclipse IDE, Jakarta EE and over 350 open source projects...)时一般是【Eclipse IDE for Java Developers】或【Eclipse IDE for Enterprise Java and Web Developers】。由于第二个包功能比较多使用起来比较慢,所以我经常用第一个包。由于第一个包没有JST Server Adapters功能,不能在eclipse中运行tomcat。所以需要使用如下方法安装。
1:Help->Install New Software->在WorkWith中录入【2023-06 - https://download.eclipse.org/releases/2023-06/】。然后在下面选择JST相关内容,点击Finish,安装。
2:安装全之后,重启eclipse。Window->show view->other ->Server->servers就可以使用了。
3:结束。