Eclipse添加Tomcat 7空白服务器名称 [英] Eclipse add Tomcat 7 blank server name
问题描述
我以前做过的是从Eclipse中删除了一个Tomcat 7服务器,并且我正在尝试重新安装Tomcat 7.但是它不允许我在该文本框中输入任何内容,因此我无法进入下一步按钮。我的环境是用于JavaEE的Ubuntu Linux和Eclipse。
这是Eclipse中的一个错误。我有完全相同的问题,也在Ubuntu上使用Eclipse Java EE Juno。
这是为我工作的解决方法:
- 关闭Eclipse
- 在
{workspace-directory} /。metadata / .plugins / org.eclipse.core中。运行时/ .settings
删除以下两个文件:
-
org.eclipse.wst.server.core.prefs
-
org.eclipse.jst.server.tomcat.core.prefs
-
- 重新启动Eclipse
资料来源:eclipse.org论坛
I was trying to add Tomcat 7 in my Eclipse in Ubuntu. 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 as shown below:
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. My environment is Ubuntu Linux and Eclipse for JavaEE.
It is a bug in Eclipse. I had exactly the same problem, also on Ubuntu with Eclipse Java EE Juno.
Here is the workaround that worked for me:
- Close Eclipse
- 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
- Restart Eclipse
Source: eclipse.org Forum
这篇关于Eclipse添加Tomcat 7空白服务器名称的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!