java.lang.NoClassDefFoundError: org/osgi/framework/BundleActivator


Samebug tips8

You might've forgot to add a dependency or it's written wrong. Also, you might be using incompatible versions of Java and Hibernate. More on this here: https://goo.gl/SjSlRA


7 months ago
Expert tip

Solutions on the web2319

Solution icon of oraclecommunity
via Oracle Community by Thirunavukkarasu Muthuswamy, 8 months ago
org/osgi/framework/BundleActivator

Solution icon of googlegroups
via Google Groups by Ken Tarou, 4 months ago
org/osgi/framework/BundleActivator

Solution icon of liferay
via Liferay Issues by Albert Lee, 1 year ago
org/osgi/framework/BundleActivator

Solution icon of stackoverflow
org/osgi/framework/BundleActivator

Solution icon of stackoverflow
org/osgi/framework/BundleActivator

Solution icon of stackoverflow
org/osgi/framework/BundleActivator

Solution icon of stackoverflow
org/osgi/framework/BundleActivator

Solution icon of stackoverflow
org/osgi/framework/BundleActivator

Solution icon of web
via terracotta.org by Unknown author, 1 year ago
org/osgi/framework/BundleActivator

Solution icon of web
org/osgi/framework/BundleActivator

Stack trace

java.lang.NoClassDefFoundError: org/osgi/framework/BundleActivator
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
	at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
	at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:247)
	at weblogic.t3.srvr.servicegroups.ServicePluginGroup.processPossibleServicePlugin(ServicePluginGroup.java:157)
	at weblogic.t3.srvr.servicegroups.ServicePluginGroup.<init>(ServicePluginGroup.java:90)
	at weblogic.t3.srvr.servicegroups.ServerServiceDependencies.<init>(ServerServiceDependencies.java:60)
	at weblogic.t3.srvr.servicegroups.ServerServiceDependencies.<clinit>(ServerServiceDependencies.java:50)
	at weblogic.t3.srvr.ServerServices.<clinit>(ServerServices.java:94)
	at weblogic.t3.srvr.ServerServicesManager.getServicesBeforeStandbyState(ServerServicesManager.java:370)
	at weblogic.t3.srvr.ServerServicesManager.startInStandbyState(ServerServicesManager.java:149)
	at weblogic.t3.srvr.T3Srvr.initializeStandby(T3Srvr.java:883)
	at weblogic.t3.srvr.T3Srvr.startup(T3Srvr.java:570)
	at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:469)
	at weblogic.Server.main(Server.java:74)
Caused by: java.lang.ClassNotFoundException: org.osgi.framework.BundleActivator
	at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
	... 24 more

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 3 weeks ago
Once, 1 month ago
11 times, 4 months ago
Samebug visitor profile picture
Unknown user
2 times, 5 months ago
1250 more bugmates