Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Docker build fails #7

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
psaikkonen opened this issue Nov 5, 2018 · 1 comment
Closed

Docker build fails #7

psaikkonen opened this issue Nov 5, 2018 · 1 comment

Comments

@psaikkonen
Copy link
Contributor

Docker build fails with following output:

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
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: 58.924 s
[INFO] Finished at: 2018-11-05T13:01:30+00:00
[INFO] Final Memory: 31M/201M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.17:test (default-test) on project javafxlibrary: Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.17:test failed: The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
[ERROR] Command was /bin/sh -c cd /code && /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java -jar /code/target/surefire/surefirebooter5529521323969674669.jar /code/target/surefire/surefire102127135104348760tmp /code/target/surefire/surefire_08912707696882085011tmp
[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
ERROR: Service 'javafxcompile' failed to build: The command '/bin/sh -c mvn package' returned a non-zero code: 1
@Hi-Fi
Copy link
Contributor

Hi-Fi commented Nov 27, 2018

This relates to OpenJDK update, and was fixed in PR by using newer surefire plugin.

Info:
https://stackoverflow.com/questions/53010200/maven-surefire-could-not-find-forkedbooter-class
https://issues.apache.org/jira/browse/SUREFIRE-1588

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants