java.lang.LinkageError: loader constraint violation: when resolving overridden method "org.apache.felix.http.base.internal.listener.AbstractListenerManager.addingService(Lorg/osgi/framework/ServiceReference;)Ljava/lang/Object;" the class lo ader (instance of org/apache/felix/framework/BundleWiringImpl$BundleClassLoaderJava5) of the current class, org/apache/felix/http/base/internal/listener/AbstractListenerManager, and its superclass loader (instance of org/apache/catalina/loa der/WebappClassLoader), have different Class objects for the type org/osgi/framework/ServiceReference used in the signature

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

Solutions on the web

via felix-users by itay hindy, 1 year ago
/felix/framework/BundleWiringImpl$BundleClassLoaderJava5) of the current class, org/apache/felix/http/base/internal/listener/AbstractListenerManager, and its superclass loader (instance of org/apache/catalina/loa der/WebappClassLoader), have different Class objects for the type org/osgi/framework/ServiceReference used in the signature
via felix-users by itay hindy, 1 year ago
/felix/framework/BundleWiringImpl$BundleClassLoaderJava5) of the current class, org/apache/felix/http/base/internal/listener/AbstractListenerManager, and its superclass loader (instance of org/apache/catalina/loa der/WebappClassLoader), have different Class objects for the type org/osgi/framework/ServiceReference used in the signature
java.lang.LinkageError: loader constraint violation: when resolving overridden method "org.apache.felix.http.base.internal.listener.AbstractListenerManager.addingService(Lorg/osgi/framework/ServiceReference;)Ljava/lang/Object;" the class lo ader (instance of org/apache/felix/framework/BundleWiringImpl$BundleClassLoaderJava5) of the current class, org/apache/felix/http/base/internal/listener/AbstractListenerManager, and its superclass loader (instance of org/apache/catalina/loa der/WebappClassLoader), have different Class objects for the type org/osgi/framework/ServiceReference used in the signature

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

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