eclipse,sts(Spring Tool Suite)添加tomcat 服务器
有些eclipse 中不包含tomcat配置,或者Spring Tool Suite 默认不包含apache tomcat 配置,需要手动添加
之前遇到过eclipse 没有安装tomcat ,下载sts4之后甚至server中都没有apache的容器了
操作步骤
- Help>Eclipse Marketplace .
- 搜索 server ;
- 找到 apache server 相关插件,或者sts Pivotal tc Server 相关插件安装
安装后 会提示重启,重启后,
4. window->preferences->server->Runtime Environments->add 就可以看到tomcat了