Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Exception in thread "Burningwave - Resource releaser" java.lang.NoClassDefFoundError: org/burningwave/core/function/ThrowingRunnable #14

Closed
klaraward opened this issue Mar 7, 2022 · 1 comment

Comments

@klaraward
Copy link

In spotify/fmt-maven-plugin#139, I try using burningwave core to export packages from jdk.compiler.
When I then run this plugin, I get the following error in maven shutdown (it seems like)

Exception in thread "Burningwave - Resource releaser" java.lang.NoClassDefFoundError: org/burningwave/core/function/ThrowingRunnable
	at org.burningwave.core.assembler.StaticComponentContainer.lambda$static$21(StaticComponentContainer.java:371)
	at java.base/java.lang.Thread.run(Thread.java:833)
Caused by: java.lang.ClassNotFoundException: org.burningwave.core.function.ThrowingRunnable
	at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
	at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:271)
	at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:247)
	at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:239)
	... 2 more
@Roberto-Gentili
Copy link
Member

Roberto-Gentili commented Mar 7, 2022

Hello! This is not a Burningwave issue, but a is a problem of the class loader which is used to load org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy class: that class loader has no visibility of the Core jar. So I close the issue and we can continue in the Discussion post

@burningwave burningwave locked and limited conversation to collaborators Apr 18, 2023
@Roberto-Gentili Roberto-Gentili converted this issue into discussion #27 Apr 18, 2023

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants