Since a few days I'm facing strange exception when trying to run the maven build for my IvyProject. How can I get rid of it? Entering the -X command doesn't really help here.

[ERROR] Failed to execute goal (default-compileProject) on project connectivity-demos: Failed to compile project '/mnt/data/dev/7.0/ivyProjects/ConnectivityDemos/ConnectivityDemos'.: InvocationTargetException: No class loader available for the bundle: ch.ivyteam.ivy.dataclasses.build_7.0.15.1911050149 [25] -> [Help 1]

asked 05.11 at 08:17

SupportIvyTeam's gravatar image

SupportIvyTeam ♦♦
accept rate: 77%

The issues occurs if the java version which builds the project is not compatible with the project-build-plugin.

In this case the 7.0 project-build-plugin (which works with java 1.8) is running with the java 11. Therefore class loading issues arise.

alt text

To get rid of it:

  • set the JAVA_HOME environment variable to a JDK that is compatible with the project-build-plugin in charge.

answered 05.11 at 08:17

Reguel%20Wermelinger's gravatar image

Reguel Werme... ♦♦
accept rate: 69%

edited 05.11 at 08:20

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: 05.11 at 08:17

Seen: 83 times

Last updated: 05.11 at 08:20