eclipse发布项目报错:Multiple Contexts hava a path of “/xxx“
Java编程 超过3073次围观
今天在用Eclipse开发项目的时候报错了:
Problem Occurred
'Publishing to local tomcat at localhost...'has encountered a problem.
Could not publish server configuration for local tomcat at localhost
Multiple Contexts hava a path of “/xxx”
那么如何解决Multiple Contexts hava a path of “/xxx”的错误呢?
1、在Eclipse的Servers中单击“server.xml”文件并打开
2、在"server.xml"文件中,可以看到重复定义的context,删掉1个即可