Posts

Showing posts from May, 2014

Build failing on sonar

With Maven 3+ we may face some issues while running sonar code coverage for the project in surefire plugin. Looks line may be bug in maven or surefire, can't say right now. Here is one of the weird error I have observed Exception in thread "main" java.lang.NoClassDefFoundError: ${surefire/jvm/args} Caused by: java.lang.ClassNotFoundException: ${surefire.jvm.args} at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(Native Method) at