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 插件,需要在你的工作空间 找到如下文件:.metadata.plugins\org.eclipse.wst.server.cor\e\tmp0\conf\server.xml文件。

如果是使用自己安装的tomcat服务器就需要找Tomcat的安装目录下的\conf\server.xml

我的是使用自己安装的

    <!-- SingleSignOn valve, share authentication between web applications
         Documentation at: /docs/config/valve.html -->
    <!--
    <Valve className="org.apache.catalina.authenticator.SingleSignOn" />
    -->

    <!-- Access log processes all example.
         Documentation at: /docs/config/valve.html
         Note: The pattern used is equivalent to using pattern="common" -->
    <Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs" pattern="%h %l %u %t &quot;%r&quot; %s %b" prefix="localhost_access_log" suffix=".txt"/>

<Context docBase="D:\Program Files (x86)\Tomcat 8.0\me-webapps\Program Files (x86)\Tomcat 8.0\me-webapps\JspDemo" path="/JspDemo" reloadable="false" source="org.eclipse.jst.jee.server:JspDemo"/>
<Context docBase="D:\Program Files (x86)\Tomcat 8.0\me-webapps\myWeb" path="/myWeb" reloadable="false" source="org.eclipse.jst.jee.server:myWeb"/>
<Context docBase="jspDemo" path="/jspDemo" reloadable="false" source="org.eclipse.jst.jee.server:jspDemo"/></Host>
可以看到有三个Context

修改只保留一个重启tomcat就可以了

时间: 2024-12-25 13:03:23

Could not publish server configuration for Tomcat v8.0 Server at localhost.的相关文章

用eclipse启动tomcat时报Could not publish server configuration for Tomcat v8.0 Server at localhost..错误

Could not publish server configuration for Tomcat v8.0 Server at localhost. Context with path "/mnDemo" conflicts with another Context with path "/mnDemo". 网上的解决方法是: 1.如果是使用的eclipse tomcat 插件,需要在你的工作空间 找到如下文件:.metadata.plugins\org.ecli

Could not publish server configuration for Tomcat v6.0 Server at localhost.

经常在使用tomcat服务器的时候 总会发生一些莫名其妙的错误. 就像下面这个错误: 在配置文件中存在多个/MyWeb的配置,导致不能发布服务. 错误信息: Could not publish server configuration for Tomcat v6.0 Server at localhost.Multiple Contexts have a path of "/MyWeb". 解决方案: 如果是使用的eclipse tomcat 插件,需要在你的工作空间 找到如下文件:

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>节点, 后来我转念一想,会不

Could not publish server configuration for Tomcat v7.0 Server at localhost. Multiple Contexts have a path of &quot;/ezoutdoor&quot;.

这是由eclipse在调试的时候超过了45秒的原因.解决方法:1.修改workspace.metadata.pluginsorg.eclipse.wst.server.core 中servers.xml文件. 将start-timeout="1000" 的值设大一点,重启tomcat 2 Multiple Contexts have a path of "/ezoutdoor". 这个是由于你的server服务器中的server.xml文件 <Valve cl

myeclipse 项目运行时报错:运行项目时报错:Could not publish server configuration for Tomcat v6.0 Server at localhost. Multiple Contexts have a&quot;/&quot;

1.先去E:\PLZT\workspace\.metadata\.plugins\org.eclipse.wst.server.core.sever.xml看里面是否存在两个配置是的话删除一个重启服务器 2.还是不行就把eclipse 中的服务器删除重新添加.注意 在添加的时候不要直接点finish   点next看tomcat的路径和jek包是否正确,点击完成就可以了.

启动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

Server Tomcat v8.0 Server at localhost was unable to start within 45 seconds

用SSM搭建的项目,部署时出现了以下错误 Server Tomcat v8.0 Server at localhost was unable to start within 45 seconds. If the server requires more time, try increasing the timeout in the server editor. 启动时间设置得太短,导致无法正常启动. 我使用的是MyEclipse2015,直接通过页面进行修改 也可以通过修改配置文件的方式解决:

Server Tomcat v8.0 Server at localhost was unable to start within 45 seconds. If the server requires

Server Tomcat v8.0 Server at localhost was unable to start within 45 seconds. If the server requires more time, try increasing the timeout in the server editor. 问题描述: OS:Windows 7 x64 Eclipse: Eclipse Java EE IDE for Web Developers.Version: Luna Serv

[Tomcat无法启动]&#39;Starting Tomcat v8.0 Server at localhost&#39; has encountered a problem.

运行一个index.jsp,运行提示如下错误:点击服务器 解决办法1: 点击Tomcat服务器,将服务器里的web工程删除掉,再重新运行index.jsp. 解决办法2: 关闭Tomcat,最简单的方法是:到你的tomcat目录,例如:F:\apache-tomcat-6.0.29\bin, 双击:startup.bat (看看是否可以正常启动,正常的情况,是cmd窗口不关闭,不是那种一闪cmd,就消失的情况). 双击:shutdown.bat(看看是否可以正常关闭). 解决办法3: 检查:本机