You can exclude those dependencies, as you probably don't need them
Read full article from eclipse - pom.xml shows multiple errors on including log4j dependency - Stack Overflow
You can exclude those dependencies, as you probably don't need them<dependency> <groupId>log4j</groupId> <artifactId>log4j</artifactId> <version>1.2.15</version> <exclusions> <exclusion> <groupId>com.sun.jdmk</groupId> <artifactId>jmxtools</artifactId> </exclusion> <exclusion> <groupId>com.sun.jmx</groupId> <artifactId>jmxri</artifactId> </exclusion> <exclusion> <groupId>javax.jms</groupId> <artifactId>jms</artifactId> </exclusion> </exclusions> </dependency>
Or add the following repository:
<repositories>
<repository>
<id>repository.jboss.org-public</id>
<name>JBoss.org Maven repository</name>
<url>https://repository.jboss.org/nexus/content/groups/public</url>
</repository>
</repositories>
Read full article from eclipse - pom.xml shows multiple errors on including log4j dependency - Stack Overflow
No comments:
Post a Comment