Publishing to…' has encountered an error

时间:2024-10-12 11:46:45

1、之前因为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…' has encountered an error

2、经查看,问题出在Servers中:

Publishing to…' has encountered an error

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

Publishing to…' has encountered an error
© 手抄报圈