• This problem seems to happen mostly on a Mac. Please try to use Surefire version 2.14.1 or above.
  • You may try to run the maven build with option “-e”.
  • You may try to skip the unit testing by option “-skipTests”. (In NetBeans, there is such an option under “Maven”.)

  • If none of the above works, our wild guess is that your VM crash is due to insufficient memory.