헤르메스 LIFE

[Exception] Choose unique values for the 'webAppRootKey' context-param in your web.xml files 본문

Exception

[Exception] Choose unique values for the 'webAppRootKey' context-param in your web.xml files

헤르메스의날개 2012. 6. 22. 10:45
728x90

원문 : http://javapattern.blogspot.kr/2008/02/spring-framework-log4jconfiglistener.html


java.lang.IllegalStateException

Web app root system property already set to different value: 

- Choose unique values for the 'webAppRootKey' context-param in your web.xml files!


해결 방법:
컨텍스트 파라미터webAppRootKey의 값을 설정해준다. webAppRootKey의 디폴트 값은 webapp.root임

예)<context-param>
<param-name>webAppRootKey</param-name>
<param-value>myProject_name.root</param-value>
</context-param>

728x90