操作环境:Ubuntu,eclipse,Tomcat 8.0.24
一. 问题描述:在eclipse中创建tomcat服务器的时候,Server Name 不能自动填充,且不能手动添加,如下图所示:
解决方案:这是eclipse的一个bug。
- 关闭 Eclipse
- 在工作目录
{workspace-directory}下/.metadata/.plugins/org.eclipse.core.runtime/.settings
删除一下两个文件:org.eclipse.wst.server.core.prefs
org.eclipse.jst.server.tomcat.core.prefs
- 重启 Eclipse
二. 问题描述:Could not load the Tomcat server configuration at /Servers/Tomcat v7.0 Server at localhost-config. The configuration may be corrupt or incomplete.
解决方案: Tomcat安装目录的owner不对,权限不够,修改root为自己的owner及相关权限。