错误1:Publishing to tomcat v7.0 Server at localhost…' has encountered an error
错误2:java.lang.IllegalArgumentException: Document base D:\apache-tomcat-7.0.61\webapps\xxxx does no
错误1和错误2都是同一个原因,出在Servers
解决:
1、打开server.xml文件
2、找到Context标签,把重复的删掉(例如我要运行的是Medicine项目,那把第一个context标签删除掉)
3、重启Tomcat(最好clear一下)