I am trying to run junit for a maven project but I am not able to proceed as I am getting the error
java.lang.AbstractMethodError: javax.xml.parsers.DocumentBuilderFactory.setFeature(Ljava/lang/String;Z)V
It seems as eclipse is unable to find the implementation of the above method.
My eclipse is configured with jdk 1.8.0_144
.
But if I compile the project from command line using the command mvn clean install its a success. I only get this error while running it in eclipse.