原文:myeclipse 项目运行时报错:运行项目时报错:Could not publish server configuration for Tomcat v6.0 Server at localhost. Multiple Contexts have a"/"

先去E: PLZT workspace .metadata .plugins org.eclipse.wst.server.core sever.xml看里面是否存在两个配置是的话删除一个重启服务器 还是不行就把eclipse 中的服务器删除重新添加。注意 在添加的时候不要直接点finish 点next看tomcat的路径和jek包是否正确,点击完成就可以了。 ...

2015-11-16 12:02 0 3124 推荐指数:

查看详情

Eclipse启动tomcat时报错Multiple Contexts have a path of "/xxx"

今天使用Eclipse启动tomcat部署项目时,遇到一个奇怪的错误: 中文意思是:无法根据本地的Tomcat 6.0服务器配置来发布服务,因为多个"Context"使用了同一个"/xxx"路径。 是因为本地的tomcat服务器的conf目录下面的server.xml文件出现 ...

Thu Jan 05 08:04:00 CST 2017 0 3216
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM