Eclipse 3.7(Indigo)+ Tomcat7 ---无法使用所选类型创建服务器 [英] Eclipse 3.7 (Indigo) + Tomcat7 --- Cannot create a server using the selected type

查看:610
本文介绍了Eclipse 3.7(Indigo)+ Tomcat7 ---无法使用所选类型创建服务器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

设置:


  • Eclipse 3.7 +来自indigo更新站点的WEB工具

  • Tomcat7

  • Ubuntu

问题:

当我尝试在Eclipse中的服务器透视图中添加一个新的Tomcat 7服务器时,我收到以下错误:

When I try to add a new Tomcat 7 server in the server perspective in Eclipse I get the following error:

"Cannot create a server using the selected type" 

如何解决这个问题?

推荐答案

这是一个已知问题。要解决此错误,请尝试以下一项或全部方法:

This is a known issue.To resolve this error, try one or all of the following:


  1. 转到 Window->首选项 - >服务器 - >运行时环境并修复服务器断开的路径/链接。 / li>
  2. org.eclipse.jst.server.tomcat.core.prefs 重命名为 org.eclipse.jst .server.tomcat.core.prefs.bak (或者你可以删除这个文件)。该文件可以在 \workspace\.metadata\.plugins\org.eclipse.core.runtime\.settings

  3. org.eclipse.wst.server.core.prefs 重命名为 org.eclipse.wst.server.core.prefs.bak (或删除该文件)。该文件也可以在与上述相同的位置找到。

  1. Go to Window–>Preferences–>Server–>Runtime Environments and fix the broken path/link for the server.
  2. Rename the org.eclipse.jst.server.tomcat.core.prefs to org.eclipse.jst.server.tomcat.core.prefs.bak (or you can delete this file). This file can be found at \workspace\.metadata\.plugins\org.eclipse.core.runtime\.settings
  3. Rename the org.eclipse.wst.server.core.prefs to org.eclipse.wst.server.core.prefs.bak (or delete the file). This file also can be found at the same location as above.

这篇关于Eclipse 3.7(Indigo)+ Tomcat7 ---无法使用所选类型创建服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆