When adding Arquillian to the Maven assembly, I get an exception above in Eclipse:
Missing artifact sun.jdk: jconsole: jar: jdk
<dependency> <groupId>org.jboss.arquillian.junit</groupId> <artifactId>arquillian-junit-container</artifactId> <version>1.1.7.Final</version> </dependency> <dependency> <groupId>org.jboss.arquillian.extension</groupId> <artifactId>arquillian-persistence-dbunit</artifactId> <version>1.0.0.Alpha7</version> </dependency>
(The message is not a problem, but Eclipse refuses to compile the project because of this. Maven works, though.)
Naturally, the first thing I did was try to exclude it from Maven dependencies ( wildfly-arquillian-container-managed is where the dependency tree states that the dependency comes from):
<dependency> <groupId>org.wildfly</groupId> <artifactId>wildfly-arquillian-container-managed</artifactId> <exclusions> <exclusion> <artifactId>jconsole</artifactId> <groupId>sun.jdk</groupId> </exclusion> </exclusions> </dependency>
There were no changes. I tried to start Eclipse using -vm C:\Program Files\Java\jdk1.8.0_60\bin . And he tried to edit the JDK in "Preferences → Installed JREs" to contain the JAR in the tool directory. But nothing works.
What can I do?
eclipse maven wildfly jboss-arquillian
Steffi S.
source share