养生 装修 购物 美食 感冒 便秘 营销 加盟 小吃 火锅 管理 创业 搭配 减肥 培训 旅游

myeclipse没有server library,应该如何添加

时间:2024-11-14 14:09:37

添加buiderpath时没有tomcat应该如何添加

方法/步骤

1、tomcat启动报错的解决方案:报错如下:严重:Achildcontainerfailedduringstartjava.util.concurrent.ExecutionException:org.apache.catalina.LifecycleException:Failedtostartcomponent[StandardEngine[Catalina].StandardHost[localhost].StandardContext[/wemall]]atjava.util.concurrent.FutureTask.report(FutureTask.java:122)atjava.util.concurrent.FutureTask.get(FutureTask.java:188)atorg.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1123)atorg.apache.catalina.core.StandardHost.startInternal(StandardHost.java:800)

myeclipse没有server library,应该如何添加

2、atorg.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)atorg.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)atorg.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)

myeclipse没有server library,应该如何添加

3、atjava.util.concurrent.FutureTask.run(FutureTask.java:262)atjava.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)atjava.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)atjava.lang.Thread.run(Thread.java:745)Causedby:org.apache.catalina.LifecycleException:Failedtostart

myeclipse没有server library,应该如何添加

方法/步骤2

1、comp艺皱麾酪onent[StandardEngine[Catalina].StandardHost[localhost].Stan颊俄岿髭dardContext[/wemall]]atorg.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)...6moreCausedby:java.lang.NoClassDefFoundError:ServletContextatjava.lang.Class.getDeclaredMethods0(NativeMethod)atjava.lang.Class.privateGetDeclaredMethods(Class.java:2625)atjava.lang.Class.getDeclaredMethods(Class.java:1868)atorg.apache.catalina.util.Introspection.getDeclaredMethods(Introspection.java:127)atorg.apache.catalina.startup.WebAnnotationSet.loadMethodsAnnotation(WebAnnotationSet.java:279)atorg.apache.catalina.startup.WebAnnotationSet.loadApplicationListenerAnnotations(WebAnnotationSet.java:91)atorg.apache.catalina.startup.WebAnnotationSet.loadApplicationAnnotations(WebAnnotationSet.java:65)atorg.apache.catalina.startup.ContextConfig.applicationAnnotationsConfig(ContextConfig.java:405)atorg.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:881)atorg.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:369)atorg.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)atorg.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)

myeclipse没有server library,应该如何添加

2、atorg.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5269)atorg.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)...6moreCausedby:java.lang.ClassNotFoundException:ServletContextatorg.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1714)atorg.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1559)...20more

myeclipse没有server library,应该如何添加

3、三月22,201呖分甾胗82:49:30下午org.apache.catalina.core.Container蚱澄堆别BasestartInternal严重:Achildcontainerfailedduringstartjava.util.concurrent.ExecutionException:org.apache.catalina.LifecycleException:Failedtostartcomponent[StandardEngine[Catalina].StandardHost[localhost]]atjava.util.concurrent.FutureTask.report(FutureTask.java:122)atjava.util.concurrent.FutureTask.get(FutureTask.java:188)atorg.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1123)atorg.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:302)atorg.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)atorg.apache.catalina.core.StandardService.startInternal(StandardService.java:443)atorg.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)atorg.apache.catalina.core.StandardServer.startInternal(StandardServer.java:732)atorg.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)atorg.apache.catalina.startup.Catalina.start(Catalina.java:684)atsun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethod)atsun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)atsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)atjava.lang.reflect.Method.invoke(Method.java:606)atorg.apache.catalina.startup.Bootstrap.start(Bootstrap.java:322)atorg.apache.catalina.startup.Bootstrap.main(Bootstrap.java:456)Causedby:org.apache.catalina.LifecycleException:Failedtostartcomponent[StandardEngine[Catalina].StandardHost[localhost]]atorg.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)atorg.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)atorg.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)atjava.util.concurrent.FutureTask.run(FutureTask.java:262)atjava.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)atjava.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)atjava.lang.Thread.run(Thread.java:745)Causedby:org.apache.catalina.LifecycleException:Achildcontainerfailedduringstartatorg.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1131)atorg.apache.catalina.core.StandardHost.startInternal(StandardHost.java:800)atorg.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)...6more

myeclipse没有server library,应该如何添加

4、三月22,20182:49:30下午org.apache.catalina.startup.Catalinastart严重:Catalina.start:org.apache.catalina.LifecycleException:Failedtostartcomponent[StandardServer[8005]]atorg.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)atorg.apache.catalina.startup.Catalina.start(Catalina.java:684)atsun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethod)atsun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)atsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)atjava.lang.reflect.Method.invoke(Method.java:606)atorg.apache.catalina.startup.Bootstrap.start(Bootstrap.java:322)atorg.apache.catalina.startup.Bootstrap.main(Bootstrap.java:456)Causedby:org.apache.catalina.LifecycleException:Failedtostartcomponent[StandardService[Catalina]]atorg.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)atorg.apache.catalina.core.StandardServer.startInternal(StandardServer.java:732)

myeclipse没有server library,应该如何添加

5、已上报错,是缺少libraries,如图教程添加tomcat,移除项目,重新部署后,启动,就可以了;

myeclipse没有server library,应该如何添加

© 一点知识