본문 바로가기

Error 일지

[Tomcat Error] start: org.apache.catalina.LifecycleException

반응형

사내 플랫폼 ZUUL 인증서버에서 아래와 같은 에러가 발생했다...

18-Jun-2021 18:13:40.108 SEVERE [localhost-startStop-2] org.apache.catalina.core.ContainerBase.addChildInternal ContainerBase.addChild: start: 
 org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/backup]]
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:167)
	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:754)
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:730)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
	at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1140)
	at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1875)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	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: java.lang.IllegalArgumentException: java.lang.NullPointerException
	at org.apache.catalina.util.CharsetMapper.<init>(CharsetMapper.java:76)
	at org.apache.catalina.util.CharsetMapper.<init>(CharsetMapper.java:59)
	at org.apache.catalina.core.StandardContext.getCharsetMapper(StandardContext.java:1388)
	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5077)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
	... 10 more

 

요것이 무엇인가... 찾아보니 여러가지 이유가 있겠지만..

 

개발 PC에서 STS(JDK Compiler) 버전이 15버전으로 되어있었다.. 확실한건 아니지만 이녀석이 문제였던거 같다. 운영하고 있는 서버는 JDK 8버전인데.. 15버전... 나는 JAVA 8버전 이후 버전을 사용해본 적이 없다...

이것이 문제이길 바라면서 Error 일지를 남긴다..

반응형