org.osgi.service.blueprint.container.ComponentDefinitionException: Unable to load class org.damiox.test.bundle2.HelloWorld from recipe BeanRecipe[name='helloWorld']

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
Expert tip

Check if the version of resteasy is using is the same JBoss is using. To find it out, search for resteasy-jaxrs* in JBoss/Wildfly directory and at your pom.xml.

Solutions on the web

via aries-user by Michiel Vermandel, 1 year ago
Unable to load class org.damiox.test.bundle2.HelloWorld from recipe BeanRecipe[name='helloWorld']
via incubator-aries-user by Michiel Vermandel, 1 year ago
Unable to load class org.damiox.test.bundle2.HelloWorld from recipe BeanRecipe[name='helloWorld']
via incubator-aries-user by Michiel Vermandel, 1 year ago
Unable to load class org.damiox.test.bundle2.HelloWorld from recipe BeanRecipe[name='helloWorld']
via incubator-aries-user by Damian Nardelli, 1 year ago
Unable to load class org.damiox.test.bundle2.HelloWorld from recipe BeanRecipe[name='helloWorld']
via aries-user by Damian Nardelli, 1 year ago
Unable to load class org.damiox.test.bundle2.HelloWorld from recipe BeanRecipe[name='helloWorld']
via aries-user by Michiel Vermandel, 1 year ago
Unable to load class org.damiox.test.bundle2.HelloWorld from recipe BeanRecipe[name='helloWorld']
org.osgi.service.blueprint.container.ComponentDefinitionException: Unable to load class org.damiox.test.bundle2.HelloWorld from recipe BeanRecipe[name='helloWorld']
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190)
at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468)
at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456)
at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:132)
at org.jboss.osgi.framework.internal.HostBundleRevision.loadClass(HostBundleRevision.java:121)
at org.jboss.osgi.framework.internal.AbstractBundleState.loadClass(AbstractBundleState.java:444)
at org.jboss.osgi.framework.internal.HostBundleState.loadClass(HostBundleState.java:102)
at org.apache.aries.blueprint.container.BlueprintContainerImpl.loadClass(BlueprintContainerImpl.java:388)
at org.apache.aries.blueprint.container.BlueprintRepository.loadClass(BlueprintRepository.java:410)
at org.apache.aries.blueprint.container.GenericType.parse(GenericType.java:113)
at org.apache.aries.blueprint.di.AbstractRecipe.doLoadType(AbstractRecipe.java:168)
at org.apache.aries.blueprint.di.AbstractRecipe.loadType(AbstractRecipe.java:161)
at org.apache.aries.blueprint.container.BeanRecipe.loadClass(BeanRecipe.java:245)
at org.apache.aries.blueprint.container.BeanRecipe.getType(BeanRecipe.java:891)
at org.apache.aries.blueprint.container.BeanRecipe.getInstance(BeanRecipe.java:319)
at org.apache.aries.blueprint.container.BeanRecipe.internalCreate2(BeanRecipe.java:802)
at org.apache.aries.blueprint.container.BeanRecipe.internalCreate(BeanRecipe.java:783)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:88)
at org.apache.aries.blueprint.container.BlueprintRepository.createInstances(BlueprintRepository.java:245)
at org.apache.aries.blueprint.container.BlueprintRepository.createAll(BlueprintRepository.java:183)
at org.apache.aries.blueprint.container.BlueprintContainerImpl.instantiateEagerComponents(BlueprintContainerImpl.java:648)
at org.apache.aries.blueprint.container.BlueprintContainerImpl.doRun(BlueprintContainerImpl.java:340)
at org.apache.aries.blueprint.container.BlueprintContainerImpl.run(BlueprintContainerImpl.java:242)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:206)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)

Users with the same issue

12 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 3 months ago
Samebug visitor profile picture
Unknown user
Once, 3 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
12 times, 6 months ago
97 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.