eclipse:Cannot create a server using the selected type(转)
来源:互联网 发布:长城证券下载软件 编辑:程序博客网 时间:2024/05/16 14:39
在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 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中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无法创建Server(Cannot create a server using the selected type)
- Tomcat --> Cannot create a server using the selected type(Eclipse添加tomcat 6失败)
- Tomcat --> Cannot create a server using the selected type
- Cannot create a server using the selected type
- Cannot create a server using the selected type
- tomcat7:cannot create a server using the selected type
- Cannot create a server using the selected type
- Cannot create a server using the selected type
- Tomcat --> Cannot create a server using the selected type
- Cannot create a server using the selected type
- Cannot create a server using the selected type
- Cannot create a server using the selected type
- Imageviewer与photo editor不能共存的问题
- 多个gif图片按幻灯片方式长时间播放引起手机死机
- 相册浏览时,浏览到最后一张,不能返回到第一张循环浏览
- file manager中查看图片时切换上一张/下一张时如何将非image格式的文件过滤掉
- jsp页面加载时自动执行action (转载 如需删除请通知)
- eclipse:Cannot create a server using the selected type(转)
- SVN中tag branch trunk用法详解(zhuan)
- MapR浅析
- Redmine 使用手册 总结
- Mina源码阅读笔记(五)—Mina对连接的操作IoSession
- 使用系统的代理设置
- android ListView详解
- 虚拟光驱的运用
- ExtJS4新发现04_grid 单击事件