Eclipse WTP 插件没有 Apache Tomcat 适配器
我正在使用 Galileo Eclipse,我下载了 WTP 插件,但当我尝试添加 Tomcat 服务器时没有 Apache Tomcat 插件...
有什么快速的想法吗?
I am using Galileo Eclipse, I downloaded WTP plugin, but no Apache Tomcat plugin when I try to add Tomcat server...
any quick idea?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
根据您的安装方式,您可能跳过了“JST 服务器适配器”(org.eclipse.jst.server_adapters.ext) 和实际上包含 Apache Tomcat 支持的“JST 服务器适配器扩展”功能。
Depending on how you installed it, you might have skipped the "JST Server Adapters" (org.eclipse.jst.server_adapters.ext) and "JST Server Adapters Extensions" feature that actually contains the Apache Tomcat support.
我以前遇到过同样的问题,但我的eclipse是indigo,还下载了WTP...orz没有找到tomcat。但是,我通过执行以下操作解决了问题:
安装后,当我添加新服务器时,我可以看到Tomcat可供选择。 :)希望这也有帮助~
I met the same problem before but my eclipse is indigo and also downloaded WTP... orz no tomcat found. However, I resolved by doing following:
After installed this, when I add New Server, I can see Tomcat available for selection. :) hope this helps too~
正如 akavel 所说,请确保还安装了“JST 服务器适配器扩展”。直到我安装了该插件后,Tomcat 才出现。
As akavel said, make sure "JST Server Adapters Extensions" are installed too. Tomcat didn't show up for me until I installed that plugin.
在 WTP 中,您可以下载许多不同 Web 容器或 Java EE 应用程序服务器的插件。
为此,请转到
Window
=>首选项
=>服务器
=>运行时环境
=>添加...
选择您要使用的服务器。然而,正如 Raghuram 所指出的,您可能最好从“面向 Java EE 开发人员的 Eclipse”开始。这是因为 WTP 构建在许多“基础设施”插件(例如 EMF)之上,并且依赖关系有时会不稳定,因为所有这些插件都以并行方式发展......并且 API 经常发生变化;-)
In WTP you can download plugins for many different web container or Java EE application servers.
To do so go to
Window
=>Preferences
=>Server
=>Runtime Environments
=>Add...
Select the server(s) you want to work with.However, as Raghuram as pointed out, you'd probably be better off starting from the 'Eclipse for Java EE developers` altogether. This is because WTP is built on top of many 'infrastructure' plugins such as EMF and the dependencies are sometimes wobbly because all these plugins evolve in a parallel manner... and more often than not, API change ;-)
我有同样的问题。我使用了 @sibley 解决方案,但缺少 tomcat8.5 及以上版本。为了纠正这个问题,我必须单击“帮助”>“检查更新”。这将带来所有丢失的tomcat
I had the same issue. I used @sibley solution but tomcat8.5 and over were missing. To correct that I had to click on Help>Check for Update. This will bring all missing tomcat