修改/更新 Linux下原有的JDK/JRE

关于Eclipse配置Tomcat7时的错误Cannot create a server using the selected type

regding posted @ 2012年2月25日 06:07 in Java with tags Eclipse Cannot create a server using t Tomcat7 , 12203 阅读

配Java EE环境的时候,使用Eclipse,Tomcat7。

Window–>Preferences–>Server–>Runtime Environments 里添加了自己本地/opt安装了的Tomcat7.

然后在Servers标签页添加本地的server时

就会报出 Cannot create a server using the selected type的错误。

从Runtime Environments里重新配置完全毫无效果,Google一下,

得到如下解决方案,尝试之后顺利解决此问题,在此mark一下,以防以后再碰到。

Some times if we delete the servers configuration in the workspace or if we move the workspace adding tomcat as server can become difficult thing.  We will hit with the error Cannot create a server using the selected type.

To resolve this error, try one or all of the following:

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

原文链接:http://hariprasad.info/cannot-create-a-server-using-the-selected-type-eclipse-tomcat/

 

但是悲摧的是,当添加WEB项目到本地服务器的时候又出现如下问题~慢慢解决~~

 

问题还真多~干脆把workspace文件夹全部删掉,重新配置。

这次直接用Servers标签页下的向导配置,不是使用Window–>Preferences–>Server–>Runtime Environments

一路点了 next之后,又出现了

!!!!!!!!!!!!!

点开details才发现

好吧~我直接将eclipse放在/opt下了~backtrack用多了~root权限的特权被我忽略了

好吧

直接在/opt/apache-tomcat-7.0.26/conf下

chmod a+r *.*得了,省的麻烦。

这次OK了~

 

Thanks

لی ویوسوہ ہو یار 说:
2021年5月28日 20:36 There are a lot of blogs over the Internet. But I can surely say that your blog is amazing in all. It has all the qualities that a perfect blog should have. soap 2 day
لی ویوسوہ ہو یار 说:
2021年5月29日 06:01 I read that Post and got it fine and informative. Buy magic mushrooms
لی ویوسوہ ہو یار 说:
2021年5月29日 06:41

Cool stuff you have got and you keep update all of us. Buy codeine cough syrup

لی ویوسوہ ہو یار 说:
2021年6月01日 00:10

Pretty good post. I have just stumbled upon your blog and enjoyed reading your blog posts very much. I am looking for new posts to get more precious info. Big thanks for the useful info. hair transplant singapore

لی ویوسوہ ہو یار 说:
2021年6月10日 18:13

You have performed a great job on this article. It’s very precise and highly qualitative. You have even managed to make it readable and easy to read. You have some real writing talent. Thank you so much. brutal force supplement

Legend 说:
2021年6月17日 04:46

This is just the information I am finding everywhere. Thanks for your blog, I just subscribe your blog. This is a nice blog.. 에볼루션카지노

seo 说:
2021年6月18日 00:26

Very efficiently written information. It will be beneficial to anybody who utilizes it, including me. Keep up the good work. For sure i will check out more posts. This site seems to get a good amount of visitors. daceasy

123movies 说:
2021年6月30日 00:27

efficiently written information. It will be beneficial to anybody who ut

soap 2 day 说:
2021年6月30日 01:24

fficiently written information. It will be beneficial to anybody

visit here 说:
2021年6月30日 02:00

iciently written information. It will be beneficial to

maaz 说:
2021年7月05日 22:30

There are several dissertation online websites online live pick-up not surprisingly acknowledged inside internet sites. 우리카지노

civaget 说:
2023年12月31日 01:48

러시아마사지 is a soothing escape from the daily grind.


登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter