简体   繁体   English

在Eclipse上安装Apache Tomcat服务器的问题

[英]Installation of Apache Tomcat Server Issue on Eclipse

I was trying to add Tomcat 7 in my Eclipse on Mac OS X. When I click “Add new server” in Eclipse and select “Tomcat v7.0 Server”, the field “Server Name” is blank and I cannot type in anything in that textbox. 我试图在Mac OS X上的Eclipse中添加Tomcat7。当我在Eclipse中单击“添加新服务器”并选择“ Tomcat v7.0 Server”时,“服务器名称”字段为空白,并且我无法在该文本框。

What I did before is I deleted a Tomcat 7 server from Eclipse and I was trying to reinstall Tomcat 7. But it doesn't allow me to type anything in that textbox and I cannot proceed to the “Next” button. 我之前所做的是从Eclipse删除了Tomcat 7服务器,并试图重新安装Tomcat7。但是它不允许我在该文本框中键入任何内容,因此无法继续执行“下一步”按钮。

Does anyone have a clue what's going on. 有谁知道发生了什么事。

You are facing a problem which is a bug in eclipse. 您面临的问题是日食中的错误。 Try following, it should work: 尝试以下操作,它应该可以工作:

Here is the workaround that worked for me: 这是对我有用的解决方法:

  1. Close Eclipse. 关闭Eclipse。

  2. In {workspace-directory}/.metadata/.plugins/org.eclipse.core.runtime/.settings. 在{workspace-directory} /。metadata / .plugins / org.eclipse.core.runtime / .settings中。 delete the following two files: 删除以下两个文件:

    org.eclipse.wst.server.core.prefs org.eclipse.wst.server.core.prefs

    org.eclipse.jst.server.tomcat.core.prefs org.eclipse.jst.server.tomcat.core.prefs

  3. Restart Eclipse 重新启动Eclipse

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

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