我正在尝试运行一个Web应用程序.一开始它进展顺利,但我不得不从项目文件夹中删除一些罐子.我没有使用eclipse删除罐子.所以,我开始得到这些错误:
Publishing failed with multiple errors Could not delete C:/Users/maniceto/Documents/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/fj21-tarefas/WEB-INF/lib. May be locked by another process. Could not delete C:/Users/maniceto/Documents/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/fj21-tarefas/WEB-INF. May be locked by another process.
我试图删除整个项目并再次编码.但它不起作用.我也删除了Tomcat服务器,但它又不起作用.然后我意识到要"修复"这个问题我必须删除这个文件夹:
C:/Users/maniceto/Documents/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/fj21-tarefas/WEB-INF.
并清理服务器和项目.但是当我关闭eclipse并再次打开时,我得到同样的错误,那么我必须做这个过程.
这里的任何人都知道如何修复这种tomcat bug?
只需删除服务器,然后重新添加,然后重新启动eclipse.它对我有用.
关闭日食并转到下面的位置(取决于您的系统位置)
C:/Users/maniceto/Documents/workspace/.metadata/.plugins/org.eclipse.wst.server.core/
和删除tmp0
目录现在启动eclipse,它将正常工作.