Monday, July 25, 2011

"No runnable methods" error when doing a Maven install

When doing a maven install I kept getting a Build Failed with this error being generated when attempting to run the test cases:


java.lang.Exception: No runnable methods at
org.junit.internal.runners.TestClassMethodsRunner.testAborted



To solve this problem I first ran a maven clean:

$ mvn clean

and then ran the maven install

$ mvn install

No comments:

Post a Comment