java.lang.NoClassDefFoundError: org/osgi/service/permissionadmin/PermissionAdmin

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

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via aries-dev by Guillaume Nodet (Created) (JIRA), 1 year ago
java.lang.NoClassDefFoundError: org/osgi/service/permissionadmin/PermissionAdmin
at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1460)
at org.apache.felix.framework.BundleWiringImpl.access$400(BundleWiringImpl.java:72)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at org.apache.aries.jmx.permissionadmin.PermissionAdminMBeanHandler.constructInjectMBean(PermissionAdminMBeanHandler.java:53)
at org.apache.aries.jmx.AbstractCompendiumHandler.addingService(AbstractCompendiumHandler.java:88)
at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:980)
at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:1)
at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:262)
at org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:234)
at org.apache.felix.framework.util.EventDispatcher.invokeServiceListenerCallback(EventDispatcher.java:934)
at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:795)
at org.apache.felix.framework.util.EventDispatcher.fireServiceEvent(EventDispatcher.java:544)
at org.apache.felix.framework.Felix.fireServiceEvent(Felix.java:4328)
at org.apache.felix.framework.Felix.registerService(Felix.java:3343)
at org.apache.felix.framework.BundleContextImpl.registerService(BundleContextImpl.java:346)
at org.apache.felix.framework.BundleContextImpl.registerService(BundleContextImpl.java:320)
at org.apache.felix.framework.SecurityActivator.start(SecurityActivator.java:212)
at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:641)
at org.apache.felix.framework.ExtensionManager.startExtensionBundle(ExtensionManager.java:447)
at org.apache.felix.framework.Felix.installBundle(Felix.java:2885)
at org.apache.karaf.shell.osgi.InstallBundle.doExecute(InstallBundle.java:43)
at org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:38)
at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)
at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:474)
at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:400)
at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)
at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)
at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)
at java.lang.Thread.run(Thread.java:680)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Once, 11 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

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