问题描述
我刚刚在Ubuntu上安装了Eclipse 4.4(Luna),但我无法在Target Runtime环境中设置Apache Tomcat 7服务器。此选项未显示在那里。
I have just installed Eclipse 4.4 (Luna) on Ubuntu, but I couldn't set the Apache Tomcat 7 server in Target Runtime environment. This option is not shown there.
我还尝试通过菜单 Window →*首选项→服务器→运行时环境添加它。但它也行不通。其中,下载附加服务器适配器也不显示Apache tomcat服务器。当apache-tomcat服务器在我的系统上正常启动时,端口8080。
I also tried to add it by menu Window → *Preferences → Server → Run time environment. But it also does not work. In it, Download additional server adapter does also not show Apache tomcat server. While apache-tomcat Server properly starts on my System at port 8080.
推荐答案
- 转到帮助/安装新软件
- 选择所有可用网站
- 并搜索 server
- 您将看到 Web,Xml,Java EE和OSGi企业开发
安装此软件。
重新启动Eclipse后,转到
After a restart of Eclipse go to
窗口/首选项/ Server / Runtime Enviroments
并点击 add
现在您将看到Tomcat的选项(在我的案例版本3.2到8.0)
Now you will see the options for Tomcat (in my case Version 3.2 up to 8.0)
这篇关于如何在Eclipse 4.4(Luna)中添加apache-tomcat 7的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!