별은블로그

spring log4j오류 본문

Dev/JAVA

spring log4j오류

beul_eun 2019. 3. 30. 16:33

pom.xml에 log4j 부분을 수정하자
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.17</version>
<exclusions>
<exclusion>
<groupId>javax.mail</groupId>
<artifactId>mail</artifactId>
</exclusion>
<exclusion>
<groupId>javax.jms</groupId>
<artifactId>jms</artifactId>
</exclusion>
<exclusion>
<groupId>com.sun.jdmk</groupId>
<artifactId>jmxtools</artifactId>
</exclusion>
<exclusion>
<groupId>com.sun.jmx</groupId>
<artifactId>jmxri</artifactId>
</exclusion>
</exclusions>
<scope>runtime</scope>
</dependeny>

위 코드에서

<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.17</version>
</dependeny>

 

뭔가 과다한 설정이 들어가서 그런게 아닐까 싶다.

'Dev > JAVA' 카테고리의 다른 글

web.xml유의사항  (0) 2019.03.30
eclipse 에러코드 -805306369  (0) 2019.03.30
Spring작성시 유의사항  (0) 2019.03.29
실행시 404에러가 뜰 때  (0) 2019.03.29
원격서버에서 tomcat실행시 세션종료 설정관련...  (0) 2019.03.29
Comments