Error: Could not find or load main class org.apache.maven.surefire.booter.ForkedBooter
Results :
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 18.358 s
[INFO] Finished at: 2018-10-29T19:06:42Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test (default-test)
on project ITEL: Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test
failed: The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
[ERROR] Command was /bin/sh -c cd /home/circleci/project && /usr/lib/jvm/java-8-openjdkamd64/
jre/bin/java -jar /home/circleci/project/target/surefire/surefirebooter5978716246735215649.jar
/home/circleci/project/target/surefire/surefire950994743239780003tmp
/home/circleci/project/target/surefire/surefire_06908202691549979861tmp
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException
Exited with code 1
Few days ago everything worked fine. Since then nothing in configuration was changed.
When I run me tests locally the error doesn’t occur.
Yup same here, all builds all the sudden are broken, obviously CircleCI changed something but I’m not even sure what would cause this to, all-the-sudden, break - CirclCI folks, any ideas?
Hey guys, I hit the same problem by using circleci/openjdk:8-jdk image to build in circleci. Which image for alternative for solving this? @um-zagaa Can you point me what this piece actually doing? <useSystemClassLoader>false</useSystemClassLoader>