eclipse Run On Server 异常:could not load the Tomcat Server configuration at Servers\tomcat V5.0 Sertomcat

eclipse Run On Server 异常:could not load the Tomcat Server configuration at Servers\tomcat V5.0 Sertomcat无法运行 servce运行不了的问题解决

:first-child { margin-top: 0; } blockquote > :last-child { margin-bottom: 0; } img { border: 0; max-width: 100%; height: auto !important; margin: 2px 0; } table { border-collapse: collapse; border: 1px solid #bbbbbb; } td { padding: 4px 8px; border-collapse: collapse; border: 1px solid #bbbbbb; } @media only screen and (-webkit-max-device-width: 1024px), only screen and (-o-max-device-width: 1024px), only screen and (max-device-width: 1024px), only screen and (-webkit-min-device-pixel-ratio: 3), only screen and (-o-min-device-pixel-ratio: 3), only screen and (min-device-pixel-ratio: 3) { html, body { font-size: 17px; } body { line-height: 1.7; padding: 0.75rem 0.9375rem; color: #353c47; } h1 { font-size: 2.125rem; } h2 { font-size: 1.875rem; } h3 { font-size: 1.625rem; } h4 { font-size: 1.375rem; } h5 { font-size: 1.125rem; } h6 { color: inherit; } ul, ol { padding-left: 2.5rem; } blockquote { padding: 0 0.9375rem; } }
-->

eclipse中运行项目时,出现

Could not load the Tomcat server configuration at \Servers\Tomcat v5.5 Server at localhost-config. The configuration may be corrupt or incomplete.

File not found: E:\Eclipse\BJCA\Servers\Tomcat v5.5 Server at localhost-config\web.xml

网上的解决方法:

  1. http://blog.csdn.net/huangxi_love/article/details/7350733

其实主要是路径问题。因为之前我装了tomcat6版本默认的主目录名是apache-tomcat-6.0.16,并在eclipse中作为项目的 server。后来把他卸掉,再装个新版本的tomcat6。这个版本的默认目录是Tomcat 6.0。在eclipse中要把项目发布到tomcat server中时,eclipse需要读取conf\catalina.policy文件。主目录名改变了,catalina.policy文件当然就找 不到。

解决方法就是将原来的server删掉,在添加一个server,设置server runtime ,tomcat安装目录设对就行了!

2.http://blog.sina.com.cn/s/blog_56296e3f0100ngt2.html

3.然而好像并没有什么用,还是出错,我在出错的同时,程序中有关HttpServlet的类,方法,都出现红色下划线(报错,找不到该类);

后来自己解决的方法如下:

3.1 点击工具栏windows--->preference----->Server----->Runtime   environments,查看右侧是否有tomcat,如下:

3.2再次运行,若还有错,则右键项目名------->properties-------->Java  Build  Path

最后一步,不要忘记!!!

3.3若以上2个都有了还报错,那么检查2个tomcat路径是否一样,要是还不能解决,就删掉原来的tomcat,重装一遍,步骤与3.1 、3.2一样

来自为知笔记(Wiz)

时间: 2024-10-18 06:51:40

eclipse Run On Server 异常:could not load the Tomcat Server configuration at Servers\tomcat V5.0 Sertomcat的相关文章

Could not load the Tomcat server configuration at /Servers/Tomcat v7.0 Server at

最近装了一个Ubuntu系统 在配置tomcat的时候总是出现这样的问题 Could not load the Tomcat server configuration at /Servers/Tomcat v7.0 Server at localhost-config. The configuration may be corrupt or incomplete. 我首先配置的是tomcat-7.0.27,我以为这不行.后来换成tomcat6.0结果还是报同样的错误 最后导致2个都添加不进去了如

The Tomcat server configuration at \Servers\Tomcat v7.0 Server at localhost-config is missing. Check the server for errors.

tomcat突然报错,The Tomcat server configuration at \Servers\Tomcat v7.0 Server at localhost-config is missing. Check the server for errors. 具体报错原因不太清楚,不过肯定是因为一些关联的信息缺失导致 解决办法: 删掉原先关联的tomcat,重新关联一个新的 prefencen-->service-->runtime environments,删除原先所有的tomca

Could not load the Tomcat server configuration at /Servers/Tomcat v7.0 Server at localhost-config.

[问题] Eclipse[Ubuntu14.04]中启动Tomcat Server[7.0.55]的时候出现错误如下: [解决方法] 1.将左边的classpath中的server删除掉 2.在perference中的server中remove已经添加的tomcat7,然后重新安装添加 [备注] server的服务器设置被更改或删除

Tomcat异常:The Tomcat server configuration at\Servers\Tomcat v9.0 Server at localhost-c

今天用Eclipse Java EE版写了几个java工程项目,然后再写java EE项目的jsp页面时,Tomcat出现了这个异常信息: 解决办法: 在菜单栏Window-->Preferences-->Server-->Runtime Environments,将列表中已经配置的Tomcat给Remove掉,再重新Add进来,重新运行java EE项目,eclipse恢复正常. 原文地址:https://www.cnblogs.com/dudududu/p/8490844.html

Eclipse提示Tomcat miss丢失bug:The Tomcat server configuration at \Servers\Tomcat v5.5 Server at localhost-config is missing.

解决办法:eclipse-window-preference-runtime,删除以前的tomcat,重新new一个

tomcat7 Could not load the Tomcat server configuration at /Servers/Tomcat v7.0 Server at localhost-config. The configuration may be corrupt or incomplete

参考连接: http://lucasterdev.altervista.org/wordpress/2012/05/12/could-not-load-the-tomcat-server-configuration-at-serverstomcat-v7-0-server-at-localhost-config-the-configuration-may-be-corrupt-or-incomplet/

解决“The Tomcat server configuration at \Servers\Tomcat v8.0 Server at localhost-config is missing. Check the server for errors.”

remove已经创建的server

ubuntu eclipse 建立server 提示coud not load the tomcat server configuration at /opt/apache ...的解决方法

ubuntu eclipse 建立server 提示coud not load the tomcat server configuration at /opt/apache ...的解决方法 & 及new server 时tomcat 无法finish (灰掉不可用)的解决方法. 运行命令 chmod -R 777 /opt/apache-tomcat-*

JAVA学习之路--Eclipse配置Tomcat Server

需要工具: Tomcat7 Eclipse step1:Window--Preference--Server--Runtime Envirenment step2:--Add--选择Apache Tomcat v7.0--next -- Name:Apache Tomcat v7.0 Tomcat Installation directory     D:\soft\tomcat7(我的Tomcat安装路径) JRE:选择jdk1.7.0.79(我的JDK版本) --Finish 此时工程目录下