org.apache.catalina.LifecycleException: Failed to stop component(生命周期异常)
真是郁闷透顶,以前昨天还可以用,换了myeclipse自带的tomcat就可以用:
异常:
org.apache.catalina.LifecycleException: Failed to stop component [org.apache.catalina.webresources.StandardRoot@34ccd6d9]
at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:)
at org.apache.catalina.core.StandardContext.resourcesStop(StandardContext.java:)
at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:)
at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:)
at org.apache.catalina.util.LifecycleBase.destroy(LifecycleBase.java:)
at org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:)
at org.apache.catalina.core.ContainerBase.destroyInternal(ContainerBase.java:)
at org.apache.catalina.util.LifecycleBase.destroy(LifecycleBase.java:)
at org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:)
at org.apache.catalina.core.ContainerBase.destroyInternal(ContainerBase.java:)
at org.apache.catalina.util.LifecycleBase.destroy(LifecycleBase.java:)
at org.apache.catalina.core.StandardService.destroyInternal(StandardService.java:)
at org.apache.catalina.util.LifecycleBase.destroy(LifecycleBase.java:)
at org.apache.catalina.core.StandardServer.destroyInternal(StandardServer.java:)
at org.apache.catalina.util.LifecycleBase.destroy(LifecycleBase.java:)
at org.apache.catalina.startup.Catalina.start(Catalina.java:)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:)
at java.lang.reflect.Method.invoke(Method.java:)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:)
Caused by: org.apache.catalina.LifecycleException: An invalid Lifecycle transition was attempted ([before_stop]) for component [org.apache.catalina.webresources.DirResourceSet@370736d9] in state [INITIALIZED]
at org.apache.catalina.util.LifecycleBase.invalidTransition(LifecycleBase.java:)
at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:)
at org.apache.catalina.webresources.StandardRoot.stopInternal(StandardRoot.java:)
at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:)
... more
十二月 , :: 下午 org.apache.catalina.util.LifecycleBase destroy
警告: Calling stop() on failed component [org.apache.catalina.webresources.StandardRoot@34ccd6d9] to trigger clean-up did not complete.
org.apache.catalina.LifecycleException: Failed to stop component [org.apache.catalina.webresources.StandardRoot@34ccd6d9]
at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:)
at org.apache.catalina.util.LifecycleBase.destroy(LifecycleBase.java:)
at org.apache.catalina.core.StandardContext.destroyInternal(StandardContext.java:)
at org.apache.catalina.util.LifecycleBase.destroy(LifecycleBase.java:)
at org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:)
at org.apache.catalina.core.ContainerBase.destroyInternal(ContainerBase.java:)
at org.apache.catalina.util.LifecycleBase.destroy(LifecycleBase.java:)
at org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:)
at org.apache.catalina.core.ContainerBase.destroyInternal(ContainerBase.java:)
at org.apache.catalina.util.LifecycleBase.destroy(LifecycleBase.java:)
at org.apache.catalina.core.StandardService.destroyInternal(StandardService.java:)
at org.apache.catalina.util.LifecycleBase.destroy(LifecycleBase.java:)
at org.apache.catalina.core.StandardServer.destroyInternal(StandardServer.java:)
at org.apache.catalina.util.LifecycleBase.destroy(LifecycleBase.java:)
at org.apache.catalina.startup.Catalina.start(Catalina.java:)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:)
at java.lang.reflect.Method.invoke(Method.java:)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:)
Caused by: org.apache.catalina.LifecycleException: An invalid Lifecycle transition was attempted ([before_stop]) for component [org.apache.catalina.webresources.DirResourceSet@370736d9] in state [INITIALIZED]
at org.apache.catalina.util.LifecycleBase.invalidTransition(LifecycleBase.java:)
at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:)
at org.apache.catalina.webresources.StandardRoot.stopInternal(StandardRoot.java:)
at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:)
... more
解决方法(我把原先的tomcat给删除了,重新配置tomcat就ok,特别需要注意的是tomcat里面一定要是纯净的,我是直接在官网上下载的tomcat):
org.apache.catalina.LifecycleException: Failed to stop component(生命周期异常)的更多相关文章
- Tomcat无法启动:org.apache.catalina.LifecycleException: Failed to start component 问题解决
问题如下:需要使用到数据库mysql,于是将mysql-connector-java-5.1.30-bin.jar的数据库驱动复制到WEE-INF/lib目录下.点击运行,但是服务器无法启动. 控制台 ...
- linux中搭建solr集群出现org.apache.catalina.LifecycleException: Failed to initialize component ,解决办法
07-Jan-2018 20:19:21.489 严重 [main] org.apache.catalina.core.StandardService.initInternal Failed to i ...
- org.apache.catalina.LifecycleException: Failed to start component
1.错误描述 Using CATALINA_BASE: "D:\NetBeans\apache-tomcat-8.0.12" Using CATALINA_HOME: " ...
- java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext
java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start com ...
- org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].Standard
Caused by: java.lang.NoSuchMethodError: javax.servlet.ServletContext.getVirtualServerName()Ljava/lan ...
- 【报错】java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[
报错 java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleExce ...
- tomcat 启动报错org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalin
IDEA tomcat 7.0.53 严重: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed ...
- java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina]
本文为博主原创,未经允许不得转载: 被坑了好长时间的bug,差点就要重新配置环境,重新下载,重新开始的境遇.在此记录一下: 首先展示一下报错的异常: -Apr- ::] org.apache.cata ...
- Tomcat启动报错:org.apache.catalina.LifecycleException: Failed to start component...java.util.zip.ZipException: error in opening zip file
1.项目环境 IntelliJ IDEA2018.1.6 apache-tomcat-8.0.53 基于springboot开发的项目 maven3.5.3 2.出现问题 从svn同步下项目 启动to ...
随机推荐
- 使用git命令创建分支到团队项目
背景 在我们的团队中,我作为管理者,创建了一个叫HelloWorld的项目,大家各自在本地进行开发,将自己的工作贡献到我们的团队项目中.为了便于审核,我希望大家先将自己的贡献先放在属于自己的一个分支上 ...
- TextView设置文字包含中英文时自动换行问题的终极解决方案
情景,正常TextView中设置文本内容中包含中英文时会造成自动换行的问题,影响界面显示效果,如图: 网上很多解决途径,甚至有多三方框架处理,但是效果并不能达到,最终是要如下代码完美解决,效果图如下: ...
- Git的其他用法
目录: 减少[.git]文件夹的大小和文件数 更换git for windows的文本编辑器 修改已经提交的commit说明 合并commit 解决merge时出现的冲突 回退一个merge 获取某一 ...
- java collections - keyset() vs entrySet() in map
https://stackoverflow.com/questions/8962459/java-collections-keyset-vs-entryset-in-map http://blog.c ...
- 自定义组件的 v-model
Vue.component('base-checkbox', { model: { prop: 'checked', event: 'change' }, props: { checked: Bool ...
- [Wiki].NET框架
.NET框架 建议将.NET Framework 3.0并入本条目或章节.(讨论) .NET框架 .NET框架的组件堆栈 开发者 Microsoft 初始版本 2002年2月13日,16年前 稳定 ...
- ViewDragHelper
参考:Android 之 ViewDragHelper 详解 Android 之 ViewDragHelper详解(二) 看了几篇博客,并参考了上面的两篇博客,整理一下ViewDragHelper ...
- Angular 行内式依赖注入
var app = angular.module('myApp', ['ng']); //创建一个自定义服务app.factory('$Debug', function () { return { d ...
- Luogu4609 FJOI2016建筑师(斯特林数)
显然排列中的最大值会将排列分成所能看到的建筑不相关的两部分.对于某一边,将所能看到的建筑和其遮挡的建筑看成一个集合.显然这个集合内最高的要排在第一个,而剩下的建筑可以随便排列,这相当于一个圆排列.同时 ...
- 自学Zabbix8.1 Regular expressions 正则表达式
点击返回:自学Zabbix之路 点击返回:自学Zabbix4.0之路 点击返回:自学zabbix集锦 自学Zabbix8.1 Regular expressions 正则表达式 1. 配置 点击Adm ...