您的位置:首页 > 运维架构 > Tomcat

eclipse 里面启动tomcat 提示问题Removing obsolete files from server...

2018-02-26 16:26 751 查看
Removing obsolete files from server...
Could not clean server of obsolete files: XML document structures must start and end within the same entity.
XML document structures must start and end within the same entity.
这个是你在clean tomcat的时候 文件没有clean清.(临时崩溃 系统宕机或其他原因)
导致自己eclipse里的service.xml 在clean时没有copy一致.

解决方案:

1找到你的tomcat的文件夹.找到里面的service.xml文件(路径Tomcat\conf\service.xml)

2.找到你的工作区间,
workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmpX(x为1....N,具体看你项目)\conf
里找到service.xml 看看这个文件是否跟你的service.xml文件一样.

不一样则把这个2的eclipse里的临时文件替换成你的service.xml

这俩个文件要一致才能进行正常的eclipse启动tomcat.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐