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 com.axonivy.ivy.ci:project-build-plugin:7.0.0:compileProject (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.2019 at 08:17

SupportIvyTeam's gravatar image

SupportIvyTeam ♦♦
1.4k102118122
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.
link

answered 05.11.2019 at 08:17

Reguel%20Wermelinger's gravatar image

Reguel Werme... ♦♦
9.4k31958
accept rate: 70%

edited 05.11.2019 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

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "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

Tags:

×7

Asked: 05.11.2019 at 08:17

Seen: 2,020 times

Last updated: 05.11.2019 at 08:20