Cannot create a server using the selected type
来源:互联网 发布:环保工作有哪些 知乎 编辑:程序博客网 时间:2024/04/29 17: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
- isIE 判断浏览器类型
- DetachedCriteria 中distinct的使用
- test title
- 用七张表就能轻松管理存货
- test1 title
- Cannot create a server using the selected type
- 如何选择最适合的Linux版本
- MyEclipse Java Project、Web Project 、Web Service Project的区别
- const到底是什么 二. 基本用法
- 少儿英语趣味小精灵软件界面收录
- 详细分析Linux服务器内存
- PlayStation的CD格式
- vc开发一些处理
- 字典树