← Back to team overview

openjdk team mailing list archive

openjdk-10-jdk: breaks maven-surefire-plugin (was Re: libsurefire-java: Error: Could not find or load main class org.apache.maven.surefire.booter.ForkedBooter)

 

reassign 911742 openjdk-10-jdk
notfound 911742 10.0.2+13-1
found 911742 10.0.2+13-2
retitle 911742 openjdk-10-jdk: breaks maven-surefire-plugin

On Wed, 24 Oct 2018, Andrius Merkys wrote:

> I have tried building mojo-executor [1], which successfully built
> before, with libsurefire-java 2.22.1-1. Got the following failures:

I’ve just got the same error, here it is in less linewrap-damaged:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.0:test (default-test) on project […]
[ERROR] The forked VM terminated without properly saying goodbye. VM crash or System.exit called?

The log has:

Caused by: java.lang.ClassNotFoundException: org.apache.maven.surefire.booter.ForkedBooter

I’ve tracked it down, and it has nothing to do with libsurefire-java
(which, in fact, wasn’t even installed on one of the systems this
occurs on), but was caused by the last OpenJDK update.

bye,
//mirabilos
-- 
tarent solutions GmbH
Rochusstraße 2-4, D-53123 Bonn • http://www.tarent.de/
Tel: +49 228 54881-393 • Fax: +49 228 54881-235
HRB 5168 (AG Bonn) • USt-ID (VAT): DE122264941
Geschäftsführer: Dr. Stefan Barth, Kai Ebenrett, Boris Esser, Alexander Steeg