Cannot create a server using the selected type (Eclipse中新建一个服务器)
来源:互联网 发布:包子冷冻生坯技术 知乎 编辑:程序博客网 时间:2024/03/29 13:48
昨天重装了系统,今天要把各种软件重新安装和配置。在Eclipse中新建一个Tomcat服务器的时候报错,
Cannot create a server using the selected type
如下图:
网上查了一下,有个说法是原来Eclipse中设置过各版本的Tomcat在本机上的安装路径,现在路径发生了变化,或者是没了,就报这个错。这就对了,刚重装了系统,而原来Tomcat就是装在C盘的,当然就没了(Eclipse装在其他盘,所以不受影响);但是我已经重新安装过Tomcat了啊?
先看一下Eclipse中原来是怎样设置Tomcat路径的:
打开Window>>Preferences>>Server>>Runtime Environments,可以看到之前设置过两个版本的Tomcat的安装路径,如下图:
选中想要新建的Tomcat版本,点击右边的Edit按钮,弹出重新配置Tomcat的对话框,如下图:
重新选择一下Tomcat的安装目录。我碰到的问题其实是文件夹名称的问题,之前的Tomcat文件夹名称为Tomcat 6.0.3,因此Eclipse中也是这个名字,而重新安装后的文件夹名称为Tomcat 6.0,一字之差,所以就报错了。
重新设置Tomcat路径之后,OK~
- Cannot create a server using the selected type (Eclipse中新建一个服务器)
- Eclipse中Cannot create a server using the selected type
- 在eclipse中安装tomcat服务器,报错" 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 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选择服务器的问题eclipse Cannot create a server using the selected type
- 对于eclipse选择服务器的问题eclipse Cannot create a server using the selected type
- Eclipse中添加Tomcat服务器报错:Cannot create a server using the selected type 导致不能点击next
- eclipse(优化九) eclipse中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
- tomcat7:cannot create a server using the selected type
- Cannot create a server using the selected type
- 搭建一个免费的,无限流量的Blog----github Pages和Jekyll入门
- get与post方法之间区别
- 第12章多态
- 关于匈牙利算法+二分匹配和KM算法的链接
- 网络流专辑 转自notonlysuccess
- Cannot create a server using the selected type (Eclipse中新建一个服务器)
- n阶幻方
- PostgreSQL 强大的多层表继承--及其在海量数据分类按月分区存储中的应用
- ASIHTTPRequest类库简介和使用说明
- 《JAVA与模式》之责任链模式
- 实时操作系统的特点
- 2011——2012年度总结
- android面试题整理 .
- java 时间格式转换