java.util.concurrent.ExecutionException

java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException?

Last Updated on July 17th, 2017 by   App Shah  37 comments

Are you getting below exception while running Spring MVC Project in Eclipse?

Tomcat 7 is not starting when a web application(with a servlet) is attempted to run. The server works well when I only have a html page. But when I try to add a servlet and add it to tomcat.Then the server does not start and gives an error saying “Tomcat 7 didn’t start in 45 seconds”. I increased the timeout but nothing happened. Well – here is a quick tip to solve it.

SEVERE: A child container failed during start

java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/CrunchifySpringMVC]]

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:895)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)

at java.lang.Thread.run(Thread.java:680)

Try coping commons-logging.jar file to WEB-INF/lib folder.

You can download it from here.

If you have Maven Project then just add this to your pom.xml file.

pom.xml

<dependency>

<groupId>commons-logging</groupId>

<artifactId>commons-logging</artifactId>

<version>1.2</version>

</dependency>

Once adding jar file to WEB-INF/lib folder follow below steps:

Join the Discussion

原文地址:https://www.cnblogs.com/kret123/p/9577719.html

时间: 2024-10-04 17:33:29

java.util.concurrent.ExecutionException的相关文章

Android Studio出现java.util.concurrent.ExecutionException: com.android.ide.common.process.ProcessException的总结和解决方法

1.  Error:Execution failed for task 'mergeDebugAndroidTestResources'. > Error: java.util.concurrent.ExecutionException: com.android.ide.common.process.ProcessException: 目前我见过的原因是手动改变了资源的后缀名造成的. 比如手动把logo.jpg改为logo.png,就会出现这种异常,因为实际上是jpg格式的图片,Android

java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException

异常情况: Tomcat启动时异常:java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException 异常内容: java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[

tomcat中java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException錯誤

當我加載web應用時,發現會有java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException:這個錯誤. 原來是我的web.xml中出現了問題. 下面是我的web.xml文件部分內容. <servlet> <servlet-name>regeister</servlet-name> <servlet-class>org.eblly.bean.Register<

java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/xiaozao_web]]

二月 20, 2017 11:30:28 上午 org.apache.tomcat.util.digester.SetPropertiesRule begin警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:xiaozao_web' did not find a matching property.二月 20, 2

2016.6.30 java.util.concurrent.ExecutionException java.lang.OutOfMemoryError

选中ccs项目后,选择debug on server,但是运行到一半,跳出错误: java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: PermGen space 我就想,是不是我运行的web程序太多了,于是我就删掉了server下的其他项目,再次运行就成功了.

java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina]

本文为博主原创,未经允许不得转载: 被坑了好长时间的bug,差点就要重新配置环境,重新下载,重新开始的境遇.在此记录一下: 首先展示一下报错的异常: 19-Apr-2018 09:29:18.218 SEVERE [Catalina-startStop-1] org.apache.catalina.core.ContainerBase.startInternal A child container failed during start java.util.concurrent.Executio

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 component [StandardEngine[Catalina].StandardHost[localhost].StandardContext struts包版本不对 用2.3的相应包 用在2.5里面了 例如 2.5里加上 原文地址:https://www.cnblogs.com/tk55/p/8

本地启动tomcat的时候报内存溢出错误:java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: PermGen space

问题分析: PermGen space的全称是Permanent Generation space,是指内存的永久保存区域,这块内存主要是被JVM存放Class和Meta信息的,Class在被Loader时就会被放到PermGen space中,它和存放类实例(Instance)的Heap区域不同,GC(Garbage Collection)不会在主程序运行期对PermGen space进行清理,所以如果你的应用中有很CLASS的话,就很可能出现PermGen space错误,这种错误常见在we

java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleExcept问题解决方案

在部署Dynamic Web Project时,如果正确配置web.xml或者标注时,仍然出现以上异常的话,可以尝试以下内容讲解的方法: 首先,双击eclipse中的servers,位置如下图"1"所指. 检查位置"2"的General Infomation是否正确,以及位置"3"处的Servlet Path路径信息是否配置正确(一般情况下,正确设置Eclipse的Tomcat配置,这两项没有问题,正确的配置方法参见http://jingyan.