Publishing to tomcat v7.0 Server at localhost…' has encountered an error

之前因为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”.

Publishing to tomcat v7.0 Server at localhost…' has encountered an error_第1张图片

经查看,问题出在Servers中:

Publishing to tomcat v7.0 Server at localhost…' has encountered an error_第2张图片

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


你可能感兴趣的:(tomcat,tomcat)