linux Tomcat7 配置及常见问题

来源:互联网 发布:淘宝店铺营销推广方式 编辑:程序博客网 时间:2024/06/16 12:55

/etc/init.d 目录下创建 tomcat7 文本文件,vi Tomcat7:

CATALINA_HOME=/opt/apache-tomcat-7.0.69
DAEMON_HOME=/opt/apache-tomcat-7.0.69/bin


问题:Cannot create a server using the selected type

在eclipse想把之前的Tomcat 7删掉,重新配置,出现以下问题:

Cannot create a server using the selected type

解决方法,如下:

1.退出eclipse

2.到[工程目录/worksapce]下/.metadata/.plugins/org.eclipse.core.runtime(Ctrl+H显示隐藏文件夹)

3.把org.eclipse.wst.server.core.prefs和org.eclipse.jst.server.tomcat.core.prefs这两个文件删掉

4.重启eclipse解决。

0 0