Eclispe不能配置TomcatV7.0 Server 的BUG解决方式
2015-01-28 15:14
381 查看
贴图:
配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 errorCannot 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 toorg.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 toorg.eclipse.wst.server.core.prefs.bak (or delete the file). This file also can be found at the same location as above
配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 errorCannot 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 toorg.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 toorg.eclipse.wst.server.core.prefs.bak (or delete the file). This file also can be found at the same location as above
相关文章推荐
- tomcat 集群(1)总结tomcat的server.ml配置cluster的方式,以及Tomcat集群session共享失败的解决方法
- 修改tomcat的server文件配置解决get方式提交数据产生的乱码
- Tomcat结构介绍,server.xml配置详解,连接器并发,乱码解决,虚拟主机配置,项目部署方式。
- Eclipse安装tomcat v7.0,配置Server对web的发布路径
- (原创)解决FPGA配置成功,但不能初始化运行的BUG(FPGA配置)(初始化)(DONE)
- eclipse 不能新建tomcat解决方式
- Apache2+Tomcat7配置很详细(解决服务不能启动问题Tomcat7解压版)
- Apache + Tomcat 负载均衡集群配置问题 session不能复制(解决方法)
- 解决“在eclipse中配置Tomcat时,出现Cannot create a server using the selected type的错误”的问题
- 解决在eclipse中配置Tomcat时,出现"Cannot create a server using the selected type"的错误
- Server Tomcat v7.0 Server at localhost was unable to start within 45 seconds 解决方法
- 关于 Linux 的配置文件 /etc/profile 路径出错后相关的命令失效解决方式(如:ls,vi不能用)
- 关于 Linux 的配置文件 /etc/profile 路径出错后相关的命令失效解决方式(如:ls,vi不能用)
- [解决]Server Tomcat v7.0 Server at localhost failed to start.
- Eclipse 配置tomcat不能访问主页问题解决
- Server Tomcat v7.0 Server at localhost failed to start.解决办法
- Server Tomcat v7.0 Server at localhost was unable to&nbs 报错问题解决
- Tomcat启动时一闪而过,但是jdk环境变量配置正确,并使用java或者javac命令多可以运行,但是tomcat不能运行解决办法。
- tomcat的配置文件server.xml不支持中文注释的解决办法
- 修改tomcat server.xml配置文件,解决乱码问题