How to resolve maven dependency problem with log4j 1.2.15
Just open your pom.xml and find the log4j artifact:
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.15</version>
</dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.15</version>
</dependency>
and add to dependency following exclusions:
<exclusions>
<exclusion><groupId>com.sun.jmx</groupId>
<artifactId>jmxri</artifactId>
</exclusion>
<exclusion>
<groupId>com.sun.jdmk</groupId>
<artifactId>jmxtools</artifactId>
</exclusion>
<exclusion>
<groupId>javax.jms</groupId>
<artifactId>jms</artifactId>
</exclusion>
</exclusions>
--
Щиро Ваш, Akceptor
http://akceptor.org
0 коментарі:
Дописати коментар