Removing obsolete files from server... Could not clean server of obsolete files: Premature end of fi

2023-05-16

Tomcat启动报如下错误:


Removing obsolete files from server...
Could not clean server of obsolete files: Premature end of file.
Premature end of file.

翻译结果:

从服务器上删除过时的文件…
无法清除过时文件的服务器:文件的过早结束。
文件过早结束。


解决思路:

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.


本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

Removing obsolete files from server... Could not clean server of obsolete files: Premature end of fi 的相关文章

随机推荐