I was running my JUnit tests via Maven, and ran into the following error:
loader constraints violated when linking org/w3c/dom/Node class
java.lang.LinkageError: loader constraints violated when linking org/w3c/dom/Node class at...
The solution: set maven.junit.fork=true in your project.properties file.
No comments:
Post a Comment