Cannot create a server using the selected type
来源:互联网 发布:java加密方式有哪些 编辑:程序博客网 时间:2024/04/29 19:29
在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环境中重建此文件。归根结底其目的是相同的。
- 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
- eclipse 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
- eclipse:Cannot create a server using the selected type
- Tomcat --> 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
- Tomcat --> Cannot create a server using the selected type
- Tomcat --> Cannot create a server using the selected type
- StAX介绍和其他方式比较
- SVM入门(一)至(三)Refresh
- linux 常用命令<草记>
- JDBC数据库连接池配置
- 移动互联网时代未到,现在还是功能机时代
- Cannot create a server using the selected type
- Hanoi问题
- ORACLE DBA学习笔记--表空间的管理(tablespace)
- 【爱生活】自暴自弃的你当自强不息
- 循环链表
- 字符串全排列
- android 和 wpf的差距
- 莫斯科将建造约200家水上漂浮酒店
- discuz X2数据库