[Tomcat无法启动]'Starting Tomcat v8.0 Server at localhost' has encountered a problem.

运行一个index.jsp,运行提示如下错误:点击服务器

解决办法1:

点击Tomcat服务器,将服务器里的web工程删除掉,再重新运行index.jsp。

解决办法2:

关闭Tomcat,最简单的方法是:到你的tomcat目录,例如:F:\apache-tomcat-6.0.29\bin,

双击:startup.bat (看看是否可以正常启动,正常的情况,是cmd窗口不关闭,不是那种一闪cmd,就消失的情况)。

双击:shutdown.bat(看看是否可以正常关闭)。

解决办法3:

检查:本机的端口8005,8009已经被其他程序占用。

先看一下你的tomcat是否已经启动。通过windows的任务管理器看看是否java进程。eclipse会启一个javaw的进程,tomcat会启java进程。杀掉java进程再试一下(也就是结束进程:javaw.exe)。

解决办法4:

检查一下自己的Tomcat是否正常?最好的方法,是重新用一份新的Tomcat程序(例如:apache-tomcat-6.0.29)

我用第2种解决办法解决了这个问题:

[Tomcat无法启动]'Starting Tomcat v8.0 Server at localhost' has encountered a problem.

时间: 2024-12-19 22:26:28

[Tomcat无法启动]'Starting Tomcat v8.0 Server at localhost' has encountered a problem.的相关文章

'Starting Tomcat v8.0 Server at localhost' has encountered a problem.

'Starting Tomcat v8.0 Server at localhost' has encountered a problem. “在启动Tomcat的本地主机服务器V8.0”遇到了问题. Problem Occurred 发生问题 详细信息 Port 8080 required by Tomcat v8.0 Server at localhost is already in use. The server may already be running in another proce

Starting Tomcat v7.0 Server at localhost' has encountered a problem. 如何解决

刚刚学习JavaWeb,遇到了一个问题 因为是初学,我在工程中编写了一个JSP,想要在浏览器中打开,然后出现了这个问题: 在途中大家可以看到,我点击运行写好的JSP,却出现错误,真正的原因是因为Java EE中里面有tomcat的配置,它的内部有一个,并且在外面我还开着tomcat 解决的原因就是将外面的tomcat点击stop,进行关闭,再次运行写好的JSP就可以了. Starting Tomcat v7.0 Server at localhost' has encountered a pro

Starting Tomcat v9.0 Server at localhost' has encountered a problem

•问题描述 在通过 Eclipse 打开 Tomcat 时报错: •解决方案 找到 Tomcat 的安装位置,打开 tomcat\bin 目录,找到 shutdown.bat,手动关闭 tomcat: 然后,在 eclipse 中再重新启动就行了: Starting Tomcat v9.0 Server at localhost' has encountered a problem 原文地址:https://www.cnblogs.com/hyacinthLJP/p/12348656.html

‘Starting Tomcat v9.0 Server at localhost’ has encountered a problem.

上述错误是在将Web应用部署到Tomcat,最后一步 右键单击选择Start的时候报错,原因是我在启动Tomcat之前,就已经运行了Tomcat,导致端口被占用.将之前的Tomcat关闭重新启动就可以了. 解决方法参考网址:http://blog.csdn.net/xinxin19881112/article/details/6148507 一般这种错误

starting Tomcat v7.0 Server at localhost has encountered a problem

异常如下 严重: A child container failed during start java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/day222]] at java.util.concurr

用eclipse启动tomcat时报Could not publish server configuration for Tomcat v8.0 Server at localhost..错误

Could not publish server configuration for Tomcat v8.0 Server at localhost. Context with path "/mnDemo" conflicts with another Context with path "/mnDemo". 网上的解决方法是: 1.如果是使用的eclipse tomcat 插件,需要在你的工作空间 找到如下文件:.metadata.plugins\org.ecli

Server Tomcat v8.0 Server at localhost was unable to start within 45 seconds

用SSM搭建的项目,部署时出现了以下错误 Server Tomcat v8.0 Server at localhost was unable to start within 45 seconds. If the server requires more time, try increasing the timeout in the server editor. 启动时间设置得太短,导致无法正常启动. 我使用的是MyEclipse2015,直接通过页面进行修改 也可以通过修改配置文件的方式解决:

Server Tomcat v8.0 Server at localhost was unable to start within 45 seconds. If the server requires

Server Tomcat v8.0 Server at localhost was unable to start within 45 seconds. If the server requires more time, try increasing the timeout in the server editor. 问题描述: OS:Windows 7 x64 Eclipse: Eclipse Java EE IDE for Web Developers.Version: Luna Serv

Server Tomcat v8 0 Server at localhost was unable to start w

Server Tomcat v8.0 Server at localhost was unable to start within 45 seconds. If the server requires more time, try increasing the timeout in the server editor. 问题描述: OS:Windows 7 x64 Eclipse: Eclipse Java EE IDE for Web Developers.Version: Luna Serv