尝试将Tomcat v7添加到eclipse,但是在“定义新服务器”中找不到它。窗口 [英] Trying to add Tomcat v7 to eclipse, but cannot find it in "Define a New Server" window
问题描述
我尝试点击下载其他服务器适配器,但找不到任何更新版本的tomcat。我有一台Tomcat服务器在我的机器上工作,但是我想将它与Eclipse进行链接,使开发变得更加简单。
我也试过去Window - > Preferences - >服务器选项卡 - >安装的运行时选项卡,然后单击搜索,然后选择我的tomcat安装文件夹。它不添加任何东西,也没有任何错误。
任何想法如何做到这一点?我认为版本差异可能是我无法将eclipse项目直接编译到tomcat服务器的原因,我无法弄清楚如何添加它。
您需要使用等于或大于3.6(Helios)的Java EE开发人员的Eclipse IDE版本。其他构建和早期版本没有Tomcat 7的适配器。确保您还运行最新版本的Web工具。还要尝试让eclipse在server-> runtime环境下搜索它。如果您正在运行新的EE版本,可能会为您检测。
I'm trying to create a dynamic web project in eclipse, but my version of Apache Tomcat is v7 and the list of abvailable tomcat servers when I try to define the new server are from v3.2 to v6.0, there is nothing higher.
I tried to click "Download additional server adapters" but could not find any updated versions of tomcat there. I have a tomcat server working on my machine, but I wanted to link it with Eclipse to make development easier.
I've also tried going to Window -> Preferences -> Server Tab -> Installed Runtimes tab and clicking search, then selecting my tomcat installation folder. It doesn't add anything and doesn't give any error.
Any ideas of how to do this? I think the version difference may be the reason I can't get my eclipse projects to compile directly to the tomcat server and I can't figure out how to add it.
You need to be using a version of Eclipse IDE for Java EE Developers equal to or greater than 3.6 (Helios). Other builds and earlier versions do not have the adapter for Tomcat 7. Make sure you are running the latest version of the web tools as well. Also try letting eclipse search for it under server->runtime environment. It may detect it for you, if you are running a new enough version of EE.
这篇关于尝试将Tomcat v7添加到eclipse,但是在“定义新服务器”中找不到它。窗口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!