eclipse new server Cannot create a server using the selected type 网上有两种办法,其实原理一样
来源:互联网 发布:行测题库软件 编辑:程序博客网 时间:2024/06/05 19:47
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下的文件也会自动做更改。说白了,就是指向的目录不正确,就是这么简单。
0 0
- eclipse new 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 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新建apache7 server出错Cannot create a server using the selected type
- Eclipse新建server报错——Cannot create a server using the selected type
- Eclipse无法创建Server(Cannot create a server using the selected type)
- Eclipse-->Server-->Tomcat-> Cannot create a server using the selected type
- eclipse创建tomcat server 出现 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
- 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
- LWIP互联网资料汇总
- XStream单例模式下反序列化Object-Mapping问题
- MVC自我学习
- 安卓开发之Toast(吐司)应用
- Java Thread&Concurrency(4): 深入理解Exchanger实现原理
- eclipse new server Cannot create a server using the selected type 网上有两种办法,其实原理一样
- C++的三种传参方式
- extmail sasl验证失败解决方法
- A. k-Multiple Free Set
- 《Linux设备驱动开发详解》-- Linux中断处理程序架构和Linux中断编程
- 第二周工作报告
- 【C语言复习(三)】enum、typedef 和#define的分析与区别
- linux学习之搭建高可用分布式文件系统MFS
- [做产品那些事]有感