java.util.concurrent.ExecutionException 问题解决方法
java.util.concurrent.ExecutionException错误信息,这里给出解决方案,大家根据具体要求更改。
SEVERE: A child container failed during start java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/WebApp]] at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222) at java.util.concurrent.FutureTask.get(FutureTask.java:83) at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1123) at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:800) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/WebApp]] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154) ... 7 more Caused by: java.lang.RuntimeException: Unexpected element value kind in annotation: 0 at org.apache.tomcat.util.bcel.classfile.ElementValue.readElementValue(ElementValue.java:129) at org.apache.tomcat.util.bcel.classfile.AnnotationEntry.read(AnnotationEntry.java:59) at org.apache.tomcat.util.bcel.classfile.Annotations.<init>(Annotations.java:49) at org.apache.tomcat.util.bcel.classfile.RuntimeVisibleAnnotations.<init>(RuntimeVisibleAnnotations.java:51) at org.apache.tomcat.util.bcel.classfile.Attribute.readAttribute(Attribute.java:147) at org.apache.tomcat.util.bcel.classfile.FieldOrMethod.<init>(FieldOrMethod.java:58) at org.apache.tomcat.util.bcel.classfile.Method.<init>(Method.java:72) at org.apache.tomcat.util.bcel.classfile.ClassParser.readMethods(ClassParser.java:268) at org.apache.tomcat.util.bcel.classfile.ClassParser.parse(ClassParser.java:128) at org.apache.catalina.startup.ContextConfig.processAnnotationsStream(ContextConfig.java:2118) at org.apache.catalina.startup.ContextConfig.processAnnotationsFile(ContextConfig.java:2093) at org.apache.catalina.startup.ContextConfig.processAnnotationsFile(ContextConfig.java:2086) at org.apache.catalina.startup.ContextConfig.processAnnotationsFile(ContextConfig.java:2086) at org.apache.catalina.startup.ContextConfig.processAnnotationsFile(ContextConfig.java:2086) at org.apache.catalina.startup.ContextConfig.processAnnotationsFile(ContextConfig.java:2086) at org.apache.catalina.startup.ContextConfig.processAnnotationsFile(ContextConfig.java:2086) at org.apache.catalina.startup.ContextConfig.processAnnotationsFile(ContextConfig.java:2086) at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1293) at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:878) at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:376) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5322) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) ... 7 more May 26, 2014 6:19:09 PM org.apache.catalina.core.ContainerBase startInternal
今天运行eclipse 运行tomcat启动不了,不知道啥情况,通过调查发现是因为springmvc中controller类有一个url报错了
解决问题方法:
1.web.xml出现了问题
检查<url-pattern></url-pattern>中配置的内容是否缺少“/” ,"/"表示当前web应用。
@WebFilter("/*")
2.如果是springmvc检查controller类中@RequestMapping(value =是否有报错的情况
感谢阅读,希望能帮助到大家,谢谢大家对本站的支持!
- java异常(Exception)处理机制详解
- Android studio报: java.lang.ExceptionInInitializerError 错误
- AndroidApk混淆编译时,报告java.io.IOException...错误解决办法
- 如何解决Mybatis--java.lang.IllegalArgumentException: Result Maps collection already contains value for X
- java.lang.NoSuchMethodException: com.sun.proxy.$Proxy58.list错误解决办法
- SVN出现提示org.apache.subversion.javahl.ClientException: Attempted to lock an already-locked dir解决方案
- Java xml出现错误 javax.xml.transform.TransformerException: java.lang.NullPointerException
- Android异常 java.lang.IllegalStateException解决方法
- Java Exception 捕获和显示实例详解
相关文章
springboot+dubbo+validation 进行rpc参数校验的实现方法
这篇文章主要介绍了springboot+dubbo+validation 进行rpc参数校验的实现方法,文中通过示例代码介绍的非常详细,对大家的学习或者工作具有一定的参考学习价值,需要的朋友们下面随着小编来一起学习学习吧2019-09-09Spring Boot与Kotlin处理Web表单提交的方法
本篇文章主要介绍了Spring Boot 与 Kotlin 处理Web表单提交的方法,小编觉得挺不错的,现在分享给大家,也给大家做个参考。一起跟随小编过来看看吧2018-01-01详解Spring boot上配置与使用mybatis plus
这篇文章主要介绍了详解Spring boot上配置与使用mybatis plus,小编觉得挺不错的,现在分享给大家,也给大家做个参考。一起跟随小编过来看看吧2017-05-05解决mybatis plus字段为null或空字符串无法保存到数据库的问题
这篇文章主要介绍了解决mybatis plus字段为null或空字符串无法保存到数据库的问题,具有很好的参考价值,希望对大家有所帮助。一起跟随小编过来看看吧2021-02-02
最新评论