티스토리 뷰
IT/SERVER
java.lang.IllegalStateException: Web app root system property already set to different value: 'webapp.root' = [/sw/bo/] instead of [/sw/bo2/] - Choose unique values for the 'webAppRootKey' context-param in your web.xml files
김보야 2019. 1. 21. 18:55하나의 tomcat에 context를 2개로 나눠 작업 중 오류 발생
log4j 기본 param value값이 webapp.root인데,
따로 지정해주지 않을 경우 중복사용으로 오류 발생하니 유니크값으로 변경하라는 메세지
SEVERE: Exception sending context initialized event to listener instance of class org.springframework.web.util.Log4jConfigListener
java.lang.IllegalStateException: Web app root system property already set to different value: 'webapp.root' = [/sw/bo/] instead of [/sw/bo2/] - Choose unique values for the 'webAppRootKey' context-param in your web.xml files!
web.xml
<context-param>
<param-name>webAppRootKey</param-name>
<param-value>bo.root</param-value>
</context-param>
'IT > SERVER' 카테고리의 다른 글
댓글