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 ...
随机推荐
- Peer Programming Project: 4 Elevators Scheduler 附加题 157 165
1.改进电梯调度的interface 设计, 让它更好地反映现实, 更能让学生练习算法, 更好地实现信息隐藏和信息共享. 每个电梯增加目标楼层数组,这样可以更好地进行任务的分配,在我们的电梯中,这个数 ...
- Java 编码规范 StandardCharsets.UTF_8 三个方法 toString() name() displayName(),到底用哪个方法更合适?
想用StandardCharsets.UTF_8 返回"UTF-8"这个字符,测试一下,三个方法toString() name() displayName(),均能返回" ...
- c#通过反射移除所有事件
移除全部事件委托 C# code ? 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 3 ...
- 转《trackingjs+websocket+百度人脸识别API,实现人脸签到》流程
先用websocket与后台建立通讯:用trackingjs在页面调用电脑摄像头,监听人脸,发现有人脸进入屏幕了,就把图片转成base64字符串,通过websocket发送到后端:后端拿到图片,调用百 ...
- Ionic3.x设置启动页与图标
由于手机有很多不同的尺寸与版本,所以图标尺寸也是大小不一,但是如果手动每一个尺寸都制作一个图标,那估计美工会吐血吧,不过幸好,ionic只需要一个图标就可以制作不同尺寸的图标. 添加一个ionic项目 ...
- flask 即插视图(Pluggable Views)和endpoint
endpoint经常使用flask的人肯定不会面生.其实我一直没有关注过他是怎么寻址的,直到最近经常食用url_for这个函数才引起了我的注意. url_for看源码感觉实现挺复杂的,我们姑且不在这里 ...
- node upgrade bug & node-sass
node upgrade bug & node-sass bug solution rebuild $ npm rebuild node-sass OK
- java离线地图web GIS制作
因为项目需求,要做一个web地图,之前做过高德的在线地图,它提供了一系列的API,并且由于是国产的,所以开发起来比较容易,现在由于项目是内网使用的,所以需要使用离线地图,由此便开始了: Web GIS ...
- BZOJ2325[ZJOI2011]道馆之战——树链剖分+线段树
题目描述 口袋妖怪(又名神奇宝贝或宠物小精灵)红/蓝/绿宝石中的水系道馆需要经过三个冰地才能到达馆主的面前,冰地中 的每一个冰块都只能经过一次.当一个冰地上的所有冰块都被经过之后,到下一个冰地的楼梯才 ...
- BZOJ3420[POI2013]Triumphal arch&BZOJ5174[Jsoi2013]哈利波特与死亡圣器——树形DP+二分答案
题目大意: 给一颗树,1号节点已经被染黑,其余是白的,两个人轮流操作,一开始B在1号节点,A选择k个点染黑,然后B走一步,如果B能走到A没染的节点则B胜,否则当A染完全部的点时,A胜.求能让A获胜的最 ...