개인적인 정리

Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/egovframe-all-in-one]] 본문

전자정부표준프레임워크/Exception 및 Error

Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/egovframe-all-in-one]]

yeon.Biju 2018. 4. 16. 18:28

4월 16, 2018 4:18:29 오후 org.apache.catalina.core.ContainerBase startInternal

심각: A child container failed during start

java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/egovframe-all-in-one]]

at java.util.concurrent.FutureTask.report(FutureTask.java:122)

at java.util.concurrent.FutureTask.get(FutureTask.java:192)

at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:943)

at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:871)

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)

at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1408)

at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1398)

at java.util.concurrent.FutureTask.run(FutureTask.java:266)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

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

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

Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/egovframe-all-in-one]]

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:162)

 

 

 

 프로젝트 명을 

http://www.egovframe.go.kr/wiki/doku.php?id=egovframework:dev3.7:imp:editor:common_component

 

에서 시키는대로 안했더니 나는 에러 같다

 

1. 프로젝트 > Properties 에서  Web Project Settings 에서 Context root 변경

 

 

 

Context root를 egovframe-all-in-one -->  "/"로 변경하였다.

 

2.  톰캣 서버의 server.xml 에서

<Context docBase="aaaa" path="/egovframe-all-in-one" reloadable="true" source="org.eclipse.jst.jee.server:dev1"/>

 

을 

<Context docBase="aaaa" path="/" reloadable="true" source="org.eclipse.jst.jee.server:dev1"/>

 

로 변경하면 잘 될 줄 알았더니 안되서 고생하는 중

 

 

아래와 같이 다시 셋팅해서 해결.

 

https://web-obj.tistory.com/171

 

또는 아래와 같이 셋팅 가능

 

https://web-obj.tistory.com/273

 

 

 

Comments