Eclipse 添加Tomcat 7 空白服务器名称 [英] Eclipse add Tomcat 7 blank server name

查看:33
本文介绍了Eclipse 添加Tomcat 7 空白服务器名称的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图在 Ubuntu 的 Eclipse 中添加 Tomcat 7.当我在 Eclipse 中单击添加新服务器"并选择Tomcat v7.0 服务器"时,服务器名称"字段为空,我无法在该文本框中输入任何内容,如下所示:

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:

我之前所做的是从 Eclipse 中删除了一个 Tomcat 7 服务器,我试图重新安装 Tomcat 7.但它不允许我在该文本框中输入任何内容,我无法继续点击下一步"按钮.我的环境是 Ubuntu Linux 和 Eclipse for JavaEE.

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.

推荐答案

这是 Eclipse 中的一个错误.我也遇到了完全相同的问题,也在使用 Eclipse Java EE Juno 的 Ubuntu 上.

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:

  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
  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

来源:eclipse.org 论坛

这篇关于Eclipse 添加Tomcat 7 空白服务器名称的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆