Skip to content
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

Build fails using Maven 3.8.3 and JDK 19.0.1 on Arch Linux #168

Open
ghost opened this issue Dec 17, 2022 · 0 comments
Open

Build fails using Maven 3.8.3 and JDK 19.0.1 on Arch Linux #168

ghost opened this issue Dec 17, 2022 · 0 comments

Comments

@ghost
Copy link

ghost commented Dec 17, 2022

$ java -version
openjdk version "19.0.1" 2022-10-18
OpenJDK Runtime Environment (build 19.0.1+11)
OpenJDK 64-Bit Server VM (build 19.0.1+11, mixed mode, sharing)
$ mvn --version
Apache Maven 3.8.3 (ff8e977a158738155dc465c6a97ffaf31982d739)
Maven home: /opt/maven
Java version: 19.0.1, vendor: BellSoft, runtime: /opt/jdk-19.0.1-full
Default locale: en_CA, platform encoding: UTF-8
OS name: "linux", version: "6.0.12-arch1-1", arch: "amd64", family: "unix"
$ cd /tmp
$ git clone https://github.com/bennidi/mbassador
$ cd mb*
$ mvn package

Expected
Build succeeds, archives created.

Actual
Build fails.

From surefire-report.html.txt:

   [Summary] [Package List] [Test Cases]
   testHandlePublicationError_handlers_present_async
   java.lang.ExceptionInInitializerError:
   net.engio.mbassy.bus.AbstractPubSubSupportTest:
   testHandlePublicationError_constrcut_with_handler_async
   java.lang.NoClassDefFoundError: Could not initialize class
   org.mockito.internal.creation.cglib.ClassImposterizer$3
   net.engio.mbassy.bus.AbstractPubSubSupportTest:
   testHandlePublicationError_raises_exception
   java.lang.NoClassDefFoundError: Could not initialize class
   org.mockito.internal.creation.cglib.ClassImposterizer$3
   net.engio.mbassy.bus.AbstractPubSubSupportTest:
   testHandlePublicationError_construct_with_handler_sync
   java.lang.NoClassDefFoundError: Could not initialize class
   org.mockito.internal.creation.cglib.ClassImposterizer$3
   net.engio.mbassy.bus.AbstractPubSubSupportTest:
   testHandlePublicationError_handlers_present_sync
   java.lang.NoClassDefFoundError: Could not initialize class
   org.mockito.internal.creation.cglib.ClassImposterizer$3
   net.engio.mbassy.bus.AbstractPubSubSupportTest:
   testHandlePublicationError_default_construct_async
   java.lang.NoClassDefFoundError: Could not initialize class
   org.mockito.internal.creation.cglib.ClassImposterizer$3
   net.engio.mbassy.bus.AbstractPubSubSupportTest:
   testHandlePublicationError_no_handlers_present_construct_with_config_as
   ync
   java.lang.NoClassDefFoundError: Could not initialize class
   org.mockito.internal.creation.cglib.ClassImposterizer$3
   net.engio.mbassy.bus.AbstractPubSubSupportTest:
   testHandlePublicationError_default_construct_sync
   java.lang.NoClassDefFoundError: Could not initialize class
   org.mockito.internal.creation.cglib.ClassImposterizer$3
   net.engio.mbassy.bus.AbstractPubSubSupportTest:
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

0 participants