错误:maven Multiple annotations found at this line:
- Missing artifact com.sun.jdmk:jmxtools:jar:
1.2.1:compile
- Missing artifact com.sun.jmx:jmxri:jar:
1.2.1:compile
错误原因:
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.15</version>
<type>jar</type>
<scope>compile</scope>
</dependency>
将<version>1.2.15</version> 改为 <version>1.2.14</version>
就ok了。
- Missing artifact com.sun.jdmk:jmxtools:jar:
1.2.1:compile
- Missing artifact com.sun.jmx:jmxri:jar:
1.2.1:compile
错误原因:
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.15</version>
<type>jar</type>
<scope>compile</scope>
</dependency>
将<version>1.2.15</version> 改为 <version>1.2.14</version>
就ok了。