启动tomcat:Could not publish server configuration for Tomcat v8.5Server at localhost.
Posted 谢哥在彼方
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了启动tomcat:Could not publish server configuration for Tomcat v8.5Server at localhost.相关的知识,希望对你有一定的参考价值。
Could not publish server configuration for Tomcat v8.0 Server at localhost.
Context with path “/jspDemo” conflicts with another Context with path “/JspDemo”.
修改
如果是使用用eclipse启动tomcat,eclipse中有servers文件,修改server.xml。如果没有成功:
1.若使用的eclipse tomcat 插件,需要在你的工作空间 找到如下文件:.metadata.pluginsorg.eclipse.wst.server.core mp0confserver.xml文件。
2.若使用自己安装的tomcat服务器就需要找Tomcat的安装目录下的confserver.xml
<Context docBase="crud-json" path="/crud-json" reloadable="true" source="org.eclipse.jst.jee.server:crud-json"/>
<Context docBase="crud-json" path="/crud-json" reloadable="true" source="org.eclipse.jst.jee.server:crud-json"/>
</Host>
可以看到有两个Context
改只保留一个重启tomcat就可以了
以上是关于启动tomcat:Could not publish server configuration for Tomcat v8.5Server at localhost.的主要内容,如果未能解决你的问题,请参考以下文章
启动tomcat:Could not publish server configuration for Tomcat v8.5Server at localhost.
MyEclipse启动Tomcat报错:Could not find the main class: org.apache.catalina.startup
tomcat启动报错javax.naming.NamingException: Could not load resource factory class,spring启动失败
启动tomcat出现Removing obsolete files from server... Could not clean server of obsolete ……错误
tomcat启动报错BaseExecutor:getDatabaseId:55 - Could not get a databaseId from dataSource
tomcat启动报错BaseExecutor:getDatabaseId:55 - Could not get a databaseId from dataSource