Written by
spring-style
on
on
하나의 tomcat에 같은 프로젝트 두개 이상 띄우기 : 'webapp.root' 에러
하나의 tomcat에 같은 프로젝트 두개 이상 띄우기 : 'webapp.root' 에러
하나의 톰캣에 같은 프로젝트를 두개 이상 띄었을 때 에러가 발생했다.
심각: Exception sending context initialized event to listener instance of class ch.qos.logback.ext.spring.web.LogbackConfigListener
java.lang.IllegalStateException: Web app root system property already set to different value: 'webapp.root'
log4j의 default value가 webapp.root라 따로 지정해주지 않는다면 중복된다.
해결방법은 간단한다! web.xml에 아래와 같이 추가해주면 끝! param-value를 지정해주면 된다
webAppRootKey test.root
from http://ynzu-dev.tistory.com/28 by ccl(A) rewrite - 2021-12-13 16:02:05