linux/windows tomcat7 severname 置为灰色,转载;

问题:

    在linux下基于Eclipse的开发过程中,无法从以下方式,添加Tomcat服务器。  其中ServerName是被置为灰色的,无法编辑。

    

如何解决

1.  关闭Eclipse

2.  打开WorkSpace所在的位置。    {workspace-directory}/.metadata/.plugins/org.eclipse.core.runtime/.settings     删除以下文件

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

3.  重启 Eclipse,即可。

原文地址:https://www.cnblogs.com/JohnChen-happy/p/4274649.html