ca-stefan-cordes opened a new issue, #3494: URL: https://github.com/apache/maven-surefire/issues/3494
### Affected version 3.6.0 ### Bug description Even just junit4 dependencies are on classpath the forked surefire test run tries to instantiate TestExecutionResult from Junit5 and fails: ``` 10:20:30 [ERROR] Caused by: org.apache.maven.surefire.booter.SurefireBooterForkException: There was an error in the forked process 10:20:30 [ERROR] Could not initialize class org.junit.platform.engine.TestExecutionResult 10:20:30 [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:708) 10:20:30 [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:523) 10:20:30 [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.lambda$runSuitesForkPerTestSet$7(ForkStarter.java:434) 10:20:30 [ERROR] at java.util.concurrent.FutureTask.run(FutureTask.java:266) 10:20:30 [ERROR] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) 10:20:30 [ERROR] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) 10:20:30 [ERROR] at java.lang.Thread.run(Thread.java:750) 10:20:30 [ERROR] -> [Help 1] ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
