eclipse 日食 tomcat 7.0

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/14226721/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-19 19:46:30  来源:igfitidea点击:

eclipse tomcat 7.0

eclipsetomcat7

提问by nzondlo

I'm trying to set up an Apache Tomcat 7.0 server in Eclipse, but I can't get the wizard to let me create it. My NEXT button won't highlight after I select Tomcat v7.0 like so:

我正在尝试在 Eclipse 中设置一个 Apache Tomcat 7.0 服务器,但我无法让向导让我创建它。在我选择 Tomcat v7.0 后,我的 NEXT 按钮不会突出显示,如下所示:

enter image description here

在此处输入图片说明

I don't have the same problem trying to create any other version of Tomcat, just v7.0:

我在尝试创建任何其他版本的 Tomcat 时没有遇到同样的问题,只是 v7.0:

enter image description here

在此处输入图片说明

Info about my system: -I've had it up and running previously, but had to go through a reboot with my system, Eclipse was untouched as it was on a different HDD -I've reinstalled Tomcat 7.0 twice, once to the drive containing this particular Eclipse Workspace, and once to my main OS drive, both to no avail.

关于我的系统的信息: - 我之前已经启动并运行了它,但必须重新启动我的系统,Eclipse 没有受到影响,因为它在不同的硬盘上 - 我已经重新安装了 Tomcat 7.0 两次,一次是在驱动器上包含这个特定的 Eclipse 工作区,一次到我的主操作系统驱动器,两者都无济于事。

Can anyone tell me what I did wrong here or what's going on here?

谁能告诉我我在这里做错了什么或这里发生了什么?

Thank you very much.

非常感谢。

回答by Sean F

In your eclipse menu go to window > server > runtime environments > hit add > select tomcat 7 > hit next press browse and navigate to the installation directory and finish. Will solve this issue.

在 Eclipse 菜单中,转到窗口 > 服务器 > 运行时环境 > 点击添加 > 选择 tomcat 7 > 点击下一步按浏览并导航到安装目录并完成。将解决这个问题。

回答by Luca

  1. Close Eclipse
  2. In {workspace-directory}/.metadata/.plugins/org.eclipse.core.runtime/.settings delete the following two files: org.eclipse.wst.server.core.prefs org.eclipse.jst.server.tomcat.core.prefs
  3. Restart Eclipse
  1. 关闭日食
  2. 在 {workspace-directory}/.metadata/.plugins/org.eclipse.core.runtime/.settings 中删除以下两个文件:org.eclipse.wst.server.core.prefs org.eclipse.jst.server.tomcat。 core.prefs
  3. 重启 Eclipse

回答by viki raga

1.Close Eclipse 2.In {workspace-directory}/.metadata/.plugins/org.eclipse.core.runtime/.settings. delete the following two files: org.eclipse.wst.server.core.prefs org.eclipse.jst.server.tomcat.core.prefs 3.Restart Eclipse

1.关闭Eclipse 2.在{workspace-directory}/.metadata/.plugins/org.eclipse.core.runtime/.settings。删除以下两个文件: org.eclipse.wst.server.core.prefs org.eclipse.jst.server.tomcat.core.prefs 3.Restart Eclipse