Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.21.0, 2.22.0
-
None
-
Ubuntu 18.04
Java 9.0.4 or Java 10.0.1
Maven 3.5.4
Description
When using reuseForks set to false a ClassNotFoundException is thrown before test even start running. The tests will execute (but not pass) when reuseForks is set to true. This worked fine with Java 9.0.4 and Surefire 2.20.1:
[INFO] — maven-surefire-plugin:2.22.0:test (default-test) @ razor —
[INFO]
[INFO] -------------------------------------------------------
[INFO] T E S T S
[INFO] -------------------------------------------------------
[INFO]
[INFO] Results:
[INFO]
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.320 s
[INFO] Finished at: 2018-07-05T12:32:23-06:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.0:test (default-test) on project razor: Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.22.0:test failed: java.lang.ClassNotFoundException: org.apache.maven.plugin.surefire.StartupReportConfiguration -> [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.
Attachments
Attachments
Issue Links
- links to