Multiple Contexts have a path of "/xxxx"问题解决

Posted whymoney1000

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Multiple Contexts have a path of "/xxxx"问题解决相关的知识,希望对你有一定的参考价值。

Multiple Contexts have a path of "/xxxx"问题解决

之前因为ecplise项目保存更新时一直显示等待后台操作完成,以至于一直卡住无法保存,于是强退ecplise并在任务管理器进程中关闭java.exe。之后重启ecplise,在运行Tomcat时报错,错误内容如下:

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

Multiple Contexts have a path of "/xxxx".

技术图片

经查看,问题出在Servers中:

技术图片

server.xml文件中的<context>标签重复,导致Tomcat启动时有重复,将重复的删除即可解决问题。

 

以上是关于Multiple Contexts have a path of "/xxxx"问题解决的主要内容,如果未能解决你的问题,请参考以下文章

Multiple Contexts have a path of "/xxxx"问题解决

Multiple Contexts have a path of "/xxxx"问题解决

C++学习(四六六)Multiple parse contexts are available for this file

C++学习(四六六)Multiple parse contexts are available for this file

如何使用 maven 插件 tomcat7:run with multiple contexts (WARs)?

Page directive must not have multiple occurrences of pageencoding