“本地主机上的服务器 Tomcat v7.0 服务器无法启动"在终端中工作时没有堆栈跟踪 [英] "Server Tomcat v7.0 Server at localhost failed to start" without stack trace while it works in terminal

查看:25
本文介绍了“本地主机上的服务器 Tomcat v7.0 服务器无法启动"在终端中工作时没有堆栈跟踪的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以这个项目在周末之前运行得很好(还有其他问题,但至少 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版本号: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.pluginsorg.eclipse.core.resources

删除此文件后,您可以正常启动 Eclipse.

After deleting this file, you could start Eclipse with no problem.

这篇关于“本地主机上的服务器 Tomcat v7.0 服务器无法启动"在终端中工作时没有堆栈跟踪的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆