Cannot create a server using the selected type (Eclipse中新建一个服务器)
2012-08-26 17:11
489 查看
昨天重装了系统,今天要把各种软件重新安装和配置。在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中设置过各版本的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~
相关文章推荐
- Eclipse新建server报错——Cannot create a server using the selected type
- Eclipse中添加Tomcat服务器报错:Cannot create a server using the selected type 导致不能点击next
- 在eclipse中安装tomcat服务器,报错" Cannot create a server using the selected type ".
- eclipse新建apache7 server出错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选择服务器的问题eclipse Cannot create a server using the selected type
- Eclipse 3.7 (Indigo) + Tomcat7 — Cannot create a server using the selected type
- 解决在eclipse中配置Tomcat时,出现"Cannot create a server using the selected type"的错误
- eclipse Cannot create a server using the selected type 问题解决
- Eclipse配置Tomcat:Cannot create a server using the selected type
- eclipse Cannot create a server using the selected type
- 解决 eclipse tomcat cannot create a server using the selected type
- 解决“在eclipse中配置Tomcat时,出现Cannot create a server using the selected type的错误”的问题
- 解决 eclipse tomcat cannot create a server using the selected type
- eclipse new server 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)
- eclipse new server Cannot create a server using the selected type 网上有两种办法,其实原理一样
- 解决“在eclipse中配置Tomcat时,出现Cannot create a server using the selected type的错误”的问题