maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cservenak, Tamas (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SUREFIRE-1589) mvn test does not run any test error: Could not find or load main class org.apache.maven.surefire.booter.ForkedBooter
Date Wed, 31 Oct 2018 13:06:00 GMT

    [ https://issues.apache.org/jira/browse/SUREFIRE-1589?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16670076#comment-16670076
] 

Cservenak, Tamas commented on SUREFIRE-1589:
--------------------------------------------

"and mvn test worked fine up to today."... what OS are you on? If Ubuntu/Debian/Mint (or some
derivative), Java updates were sent out yesterday. See SUREFIRE-1588 in that case.

> mvn test does not run any test error: Could not find or load main class org.apache.maven.surefire.booter.ForkedBooter
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: SUREFIRE-1589
>                 URL: https://issues.apache.org/jira/browse/SUREFIRE-1589
>             Project: Maven Surefire
>          Issue Type: Bug
>    Affects Versions: 2.22.1
>            Reporter: tibi
>            Priority: Major
>
> when running mvn test on a fresh jhipster* project i get the following error:
>  
> Error: Could not find or load main class org.apache.maven.surefire.booter.ForkedBooter
> this is the output on console:
> [INFO] Results:
> [INFO] 
> [INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
> [INFO] 
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 47.236 s
> [INFO] Finished at: 2018-10-31T13:54:49+01:00
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.0:test
(default-test) on project stand-bystand: There are test failures.
> [ERROR] 
> [ERROR] Please refer to /home/tibi/git/mvntest/target/surefire-reports for the individual
test results.
> [ERROR] Please refer to dump files (if any exist) [date]-jvmRun[N].dump, [date].dumpstream
and [date]-jvmRun[N].dumpstream.
> [ERROR] The forked VM terminated without properly saying goodbye. VM crash or System.exit
called?
> [ERROR] Command was /bin/sh -c cd /home/tibi/git/mvntest && /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java
-javaagent:/home/tibi/.m2/repository/org/jacoco/org.jacoco.agent/0.8.2/org.jacoco.agent-0.8.2-runtime.jar=destfile=/home/tibi/git/mvntest/target/test-results/coverage/jacoco/jacoco.exec
-Djava.security.egd=file:/dev/./urandom -Xmx256m -jar /home/tibi/git/mvntest/target/surefire/surefirebooter9169551205789441059.jar
/home/tibi/git/mvntest/target/surefire 2018-10-31T13-54-48_997-jvmRun1 surefire4367139397955700461tmp
surefire_09091753917082460771tmp
> [ERROR] Error occurred in starting fork, check output in log
>  
>  
> *jhipster is a java angular project generator. i use it for a year and mvn test worked
fine up to today.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message