对于eclipse选择服务器的问题eclipse Cannot create a server using the selected type
2011-10-21 11:06
323 查看
eclipse Cannot create a server using the selected type 问题解决
原文链接:http://blog.csdn.net/arthurzil/archive/2010/09/25/5904325.aspx
在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/.settings,记住不是eclispe程序的路径。
把其下org.eclipse.wst.server.core.prefs和 org.eclipse.jst.server.tomcat.core.prefs这两个文件去掉
后重启eclipse即可。
个人认为第一种方式比较方便,操作起来比较直观。
其实出现这一问题的原因也很简单,就是原来服务路径已经指定,由于原tomcat出错或其 它原因时不能再次指定服务器路径而已,第一种方式就是在IDE环境中重新指定,第二种则是把存储路径的文件删掉,再重新指定路径时就不会报错,IDE环境 中重建此文件。归根结底其目的是相同的。
相关文章推荐
- 对于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 ".
- Cannot create a server using the selected type (Eclipse中新建一个服务器)
- 在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 Cannot create a server using the selected type 问题解决
- eclipse:Cannot create a server using the selected type
- eclipse创建tomcat 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新建server报错——Cannot create a server using the selected type
- eclipse:Cannot create a server using the selected type
- eclipse:Cannot create a server using the selected type
- eclipse(优化九) eclipse中tomcat报错:Cannot create a server using the selected type
- eclipse new server Cannot create a server using the selected type 网上有两种办法,其实原理一样
- eclipse new server Cannot create a server using the selected type 网上有两种办法,其实原理一样
- 解决 eclipse tomcat cannot create a server using the selected type