简体   繁体   English

将Tomcat添加为服务器运行时环境时的Eclipse错误

[英]Eclipse error when Adding Tomcat as server runtime environment

When I try to add Tomcat as a server runtime environment in eclipse, I get the following error "No new server runtime environments were found" The way I am trying to add Tomcat is as follows: Click "Window"-> "preferences" Expand "Server->Runtime Environments" Click Search In the directroy browser dialog, navigate to and select my Tomcat dir "C:\\program files\\apache-tomcat-6.0.26" Click "ok" Does anyone know what eclipse is actually looking for when you tell it what folder to search in? 当我尝试在eclipse中将Tomcat添加为服务器运行时环境时,出现以下错误“未找到新的服务器运行时环境”。我尝试添加Tomcat的方式如下:单击“窗口”->“首选项”展开“服务器->运行时环境”,单击“搜索”。在Directroy浏览器对话框中,导航到并选择我的Tomcat目录“ C:\\ program files \\ apache-tomcat-6.0.26”,然后单击“确定”。当您告诉它要搜索哪个文件夹时? If I knew this, I could troubleshoot myself a bit more. 如果我知道这一点,我可以对自己进行更多的故障排除。 I have tried re-installing tomcat, also installed the next version up (6.0.26) but still eclipse cannot find it. 我尝试重新安装tomcat,也安装了下一个版本(6.0.26),但是eclipse仍然找不到。 The version of eclipse I am running is - "Eclipse IDE for Java Developers" Build id: 20090920-1017 我正在运行的eclipse的版本是-“面向Java开发人员的Eclipse IDE”,内部版本号:20090920-1017

它对我来说很好用,但是我正在使用面向Java EE开发人员的Eclipse IDE。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM