maven FAQ 1: jdk jar package conflicts

1 exception information

Missing artifact jdk.tools:jdk.tools:jar:1.6 

 

2 background problem

jdk version pom.xml default configuration is 1.8, but introduces a jar hbase-client, version 1.3.0, hbase clients rely jdk version is 1.6, there arises a conflict jar

3 solution

Use exclusions to exclude dependence

This allows you to hbase-client dependent jdk.tools excluded, it would no longer be loaded locally.

Published 13 original articles · won praise 5 · views 10000 +

Guess you like

Origin blog.csdn.net/u013439440/article/details/104284119