简体   繁体   English

蚀-添加tomcat

[英]eclipse - add tomcat

I want to add a tomcat server to eclipse. 我想添加一个tomcat服务器来蚀。 I follow these instructions: 我遵循以下指示:

  1. firstly, In Sever tabs I right click and there's New > Server 首先,在“服务器”选项卡中,右键单击,然后单击“新建”>“服务器”
  2. I select tomcat 7 and leave the other options default, which are host name, name, runtime environment. 我选择tomcat 7,并将其他选项保留为默认值,即主机名,名称,运行时环境。 Here, I would expect to be prompted to specify installation path - like c:\\tomcat or anything 在这里,我希望系统提示您指定安装路径 -如c:\\ tomcat或其他任何内容
  3. I click finish 我点击完成
  4. There's error popup - Could not load server configuration at conf..... 弹出错误提示-无法在conf上加载服务器配置。

Thanks for helping me... 谢谢你帮我...

Probably missing JST Server Adapters from WTP available from eg. WTP可能缺少JST服务器适配器 ,例如, http://download.eclipse.org/releases/indigo . http://download.eclipse.org/releases/indigo

Cft. 英尺 Apache Tomcat Not Showing in Eclipse Server Runtime Environments Eclipse Server运行时环境中未显示Apache Tomcat

Worked for me. 为我工作。 Was getting the same Could not load server configuration at conf message with Eclipse 3.7 Indigo (ColdFusion IDE). 正在获得相同的结果使用Eclipse 3.7 Indigo(ColdFusion IDE)无法在conf消息中加载服务器配置。

Installed Tomcat 6 on Win 7. Stop any Tomcat instances running. 在Win 7上安装了Tomcat6。停止任何Tomcat实例运行。 Define a new server, choosing Tomcat 6. Click Configure runtime environments... Remove any environments. 定义一个新服务器,选择Tomcat6。单击“配置运行时环境...删除所有环境”。 Click Seach... Point to Tomcat dir: C:\\Program Files\\Apache Software Foundation\\Tomcat 6.0 (Should find it) Then click OK and Finish. 单击“搜索...”。指向Tomcat目录:C:\\ Program Files \\ Apache Software Foundation \\ Tomcat 6.0(应找到它),然后单击“确定”并单击“完成”。 Start Tomcat from Eclipse. 从Eclipse启动Tomcat。

FYI, Glassfish wasn't working for me in Eclipse so I went with Tomcat. 仅供参考,Glassfish不在Eclipse中为我工作,所以我选择了Tomcat。

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

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