eclipse new server Cannot create a server using the selected type 网上有两种办法,其实原理一样
2014-06-12 16:07
501 查看
eclipse new server Cannot create a server using the selected type 网上有两种办法,其实原理一样
第一种说法:
还真的找到解决的方法了,如下:
1.退出eclipse
2.到[工程目录下]/.metadata/.plugins/org.eclipse.core.runtime
3.把org.eclipse.wst.server.core.prefs和org.eclipse.jst.server.tomcat.core.prefs这两个文件去掉
4.重启eclipse
第二种说法:
在eclipse中配置Tomcat时,出现“Cannot create a server using the selected type”的错误。
出现原因:Tomcat重新安装,并且安装目录改变了。
解决方案:在“Window->preferences->Server->Runtime Environment”,编辑Tomcat的目录为你新安装的目录,然后保存,这样就可以建立Tomcat server了。
其实第二种是正解,改完之后,/.metadata/.plugins/org.eclipse.core.runtime下的文件也会自动做更改。说白了,就是指向的目录不正确,就是这么简单。
第一种说法:
还真的找到解决的方法了,如下:
1.退出eclipse
2.到[工程目录下]/.metadata/.plugins/org.eclipse.core.runtime
3.把org.eclipse.wst.server.core.prefs和org.eclipse.jst.server.tomcat.core.prefs这两个文件去掉
4.重启eclipse
第二种说法:
在eclipse中配置Tomcat时,出现“Cannot create a server using the selected type”的错误。
出现原因:Tomcat重新安装,并且安装目录改变了。
解决方案:在“Window->preferences->Server->Runtime Environment”,编辑Tomcat的目录为你新安装的目录,然后保存,这样就可以建立Tomcat server了。
其实第二种是正解,改完之后,/.metadata/.plugins/org.eclipse.core.runtime下的文件也会自动做更改。说白了,就是指向的目录不正确,就是这么简单。
相关文章推荐
- eclipse new server Cannot create a server using the selected type 网上有两种办法,其实原理一样
- 在eclipse中安装tomcat服务器,报错" Cannot create a server using the selected type ".
- Eclipse无法创建Server(Cannot create a server using the selected type)
- 对于eclipse选择服务器的问题eclipse Cannot create a server using the selected type
- 在eclipse中安装tomcat服务器,报错" Cannot create a server using the selected type ".
- 解决在eclipse中配置Tomcat时,出现"Cannot create a server using the selected type"的错误
- Eclipse配置Tomcat:Cannot create a server using the selected type
- 解决“在eclipse中配置Tomcat时,出现Cannot create a server using the selected type的错误”的问题
- eclipse Cannot create a server using the selected type
- 解决“在eclipse中配置Tomcat时,出现Cannot create a server using the selected type的错误”的问题
- eclipse新建apache7 server出错Cannot create a server using the selected type
- 解决 eclipse tomcat cannot create a server using the selected type
- 在eclipse中配置Tomcat时,出现Cannot create a server using the selected type的错误
- 解决“在eclipse中配置Tomcat时,出现Cannot create a server using the selected type的错误”的问题
- Eclipse中添加Tomcat服务器报错:Cannot create a server using the selected type 导致不能点击next
- 解决 eclipse tomcat cannot create a server using the selected type
- eclipse Cannot create a server using the selected type 问题解决
- 解决 eclipse tomcat cannot create a server using the selected type
- Eclipse新建server报错——Cannot create a server using the selected type
- eclipse:Cannot create a server using the selected type