“服务器Tomcat v7.0服务器本地主机无法启动”它在终端工作时没有堆栈跟踪 [英] "Server Tomcat v7.0 Server at localhost failed to start" without stack trace while it works in terminal
问题描述
所以这个项目在周末之前工作得很好(还有其他问题,但至少是Tomcat推出的)。现在,当我尝试启动Tomcat服务器时,会立即发出以下错误:
So got this project which worked just fine before the weekend (have other problems, but at least Tomcat launched). Now when I try to launch the Tomcat server it immediately gives the following error:
Server Tomcat v7.0 Server at localhost failed to start.
但是,我可以通过终端启动Tomcat,而且这个问题发生在Eclipse > Eclipse Java EE IDE for Web Developers。版本:Juno Service Release 1
Build id:20121004-1855 )
However, I can start Tomcat just fine via Terminal, and this problem is occurring in Eclipse (Eclipse Java EE IDE for Web Developers. Version: Juno Service Release 1 Build id: 20121004-1855)
我研究了几个论坛尝试找到解决办法,但无济于事!请帮助有需要的人。
I scoured several forums trying to find a solution but to no avail! Please help someone out in need.
推荐答案
要解决此问题,您必须删除目录中的.snap文件:
To resolve this issue, you have to delete the .snap file located in the directory :
<workspace-directory>\.metadata\.plugins\org.eclipse.core.resources
删除此文件后,您可以启动Eclipse没有问题。
After deleting this file, you could start Eclipse with no problem.
这篇关于“服务器Tomcat v7.0服务器本地主机无法启动”它在终端工作时没有堆栈跟踪的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!