Tomcat启动失败错误解决Could not publish server configuration for Tomcat v7.0 Server at localhost
Posted 那些年错过的女孩丶
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Tomcat启动失败错误解决Could not publish server configuration for Tomcat v7.0 Server at localhost相关的知识,希望对你有一定的参考价值。
今天又碰到了Tomcat启动失败的错误,错误提示如下:
Could not publish server configuration for Tomcat v7.0 Server at localhost.
Multiple Contexts have a path of "/organ".
意思很很清楚,有重名的节点,然后我根据百度的方法去tomcat安装目录conf下面的server.xml去找这个重名的节点,但是没有相关的<Context>节点,
后来我转念一想,会不会是我得Eclipse编译器下面所创建Tomcat的Servers工程里的配置文件有重复节点,接下来我进到Servers工程里的Server.xml一看,果真存在,删除掉Context这个节点,重新部署,启动,成功!
如图中所示,删除Context节点即可。
以上是关于Tomcat启动失败错误解决Could not publish server configuration for Tomcat v7.0 Server at localhost的主要内容,如果未能解决你的问题,请参考以下文章
tomcat启动报错javax.naming.NamingException: Could not load resource factory class,spring启动失败
启动tomcat报错 Could not reserve enough space for object heap的解决办法
启动tomcat出现Removing obsolete files from server... Could not clean server of obsolete ……错误
eclipse中tomcat发布失败(Could not delete May be locked by another process)原因及解决办法