2017-05-05 8 views
1

이클립스에서 maven 애플리케이션을 실행하려고 시도하고 있습니다. helios tomcat 7 서버 및이 오류가 발생합니다. 또한 어떻게 일식 서버APACHE 7 컴포넌트 [StandardEngine [Catalina] .StandardHost [localhost]]

java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/TRAM]] 
     at java.util.concurrent.FutureTask.report(FutureTask.java:122) 
     at java.util.concurrent.FutureTask.get(FutureTask.java:188) 
     at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1123) 
     at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:816) 
     at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) 
     at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1575) 
     at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1565) 
     at java.util.concurrent.FutureTask.run(FutureTask.java:262) 
     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) 
     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) 
     at java.lang.Thread.run(Thread.java:745) 
    Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/TRAM]] 
     at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154) 
     ... 6 more 
    Caused by: java.lang.NoClassDefFoundError: org/springframework/context/ApplicationContext 
     at java.lang.Class.getDeclaredFields0(Native Method) 
     at java.lang.Class.privateGetDeclaredFields(Class.java:2436) 
     at java.lang.Class.getDeclaredFields(Class.java:1806) 
     at org.apache.catalina.util.Introspection.getDeclaredFields(Introspection.java:106) 
     at org.apache.catalina.startup.WebAnnotationSet.loadFieldsAnnotation(WebAnnotationSet.java:270) 
     at org.apache.catalina.startup.WebAnnotationSet.loadApplicationServletAnnotations(WebAnnotationSet.java:139) 
     at org.apache.catalina.startup.WebAnnotationSet.loadApplicationAnnotations(WebAnnotationSet.java:65) 
     at org.apache.catalina.startup.ContextConfig.applicationAnnotationsConfig(ContextConfig.java:403) 
     at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:879) 
     at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:374) 
     at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117) 
     at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90) 
     at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5378) 
     at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) 
     ... 6 more 
    Caused by: java.lang.ClassNotFoundException: org.springframework.context.ApplicationContext 
     at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1720) 
     at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1571) 
     ... 20 more 

    May 05, 2017 2:34:58 PM org.apache.catalina.core.ContainerBase startInternal 
    SEVERE: A child container failed during start 
    java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost]] 
     at java.util.concurrent.FutureTask.report(FutureTask.java:122) 
     at java.util.concurrent.FutureTask.get(FutureTask.java:188) 
     at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1123) 
     at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:300) 
     at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) 
     at org.apache.catalina.core.StandardService.startInternal(StandardService.java:443) 
     at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) 
     at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:739) 
     at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) 
     at org.apache.catalina.startup.Catalina.start(Catalina.java:689) 
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) 
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 
     at java.lang.reflect.Method.invoke(Method.java:606) 
     at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:321) 
     at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:455) 
    Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost]] 
     at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154) 
     at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1575) 
     at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1565) 
     at java.util.concurrent.FutureTask.run(FutureTask.java:262) 
     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) 
     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) 
     at java.lang.Thread.run(Thread.java:745) 
    Caused by: org.apache.catalina.LifecycleException: A child container failed during start 
     at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1131) 
     at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:816) 
     at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) 
     ... 6 more 

    May 05, 2017 2:34:58 PM org.apache.catalina.startup.Catalina start 
    SEVERE: The required Server component failed to start so Tomcat is unable to start. 
    org.apache.catalina.LifecycleException: Failed to start component [StandardServer[8025]] 
     at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154) 
     at org.apache.catalina.startup.Catalina.start(Catalina.java:689) 
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) 
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 
     at java.lang.reflect.Method.invoke(Method.java:606) 
     at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:321) 
     at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:455) 
    Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardService[Catalina]] 
     at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154) 
     at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:739) 
     at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) 
     ... 7 more 
    Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina]] 
     at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154) 
     at org.apache.catalina.core.StandardService.startInternal(StandardService.java:443) 
     at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) 
     ... 9 more 
    Caused by: org.apache.catalina.LifecycleException: A child container failed during start 
     at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1131) 
     at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:300) 
     at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) 
     ... 11 more 

이 내가 점점 오전 오류입니다 내부 받는다는 응용 프로그램을 실행하는 말해 수 있다면. 고맙습니다

답변

-1

은 프로젝트의 web.xml 설정이 완료되지 않았을 수 있습니다. 그러면 Tomcat을 시작한 다음 콘솔에 오류가 표시됩니다. 나는 지금 막 당신의 오류 메시지를 만나서 미완성 부분 인 commonts로 해결했습니다. 그러면 프로젝트가 성공적으로 시작됩니다. 이 제안이 도움이되기를 바랍니다.