I have configured all the dependencies in my pom.xml
through maven. When i give the command mvn install
I get the following error:
[INFO] Internal error in the plugin manager executing goal 'org.apache.maven.plugins:maven-surefire-plugin:2.4.3:test': Unable to load the mojo 'org.apache.maven.plugins:maven-surefire-plugin:2.4.3:test' in the plugin 'org.apache.maven.plugins:maven-surefire-plugin'. A required class is missing: org/apache/maven/surefire/util/NestedCheckedException org.apache.maven.surefire.util.NestedCheckedException
How can I resolve this problem?
You appear to be experiencing this issue: SUREFIRE-85.
The most likely cause appears to be corrupt jar files in your local repository. Try clearing out all maven jars from your local repository. Remove everything from <your-home-directory>/.m2/repository/org/apache/maven
and run the build again.
Also, make sure you're using a stable, up-to-date version of Maven.