java.lang.LinkageError

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • GitHub comment 2191#234467859
    via GitHub by harshild
    ,
    • java.lang.LinkageError: loader constraint violation: when resolving interface method "org.eclipse.jetty.server.Connector.getByteBufferPool()Lorg/eclipse/jetty/io/ByteBufferPool;" the class loader (instance of org/apache/felix/framework/BundleWiringImpl$BundleClassLoaderJava5) of the current class, org/eclipse/jetty/websocket/server/WebSocketServerFactory, and the class loader (instance of org/apache/felix/framework/BundleWiringImpl$BundleClassLoaderJava5) for the method's defining class, org/eclipse/jetty/server/Connector, have different Class objects for the type org/eclipse/jetty/io/ByteBufferPool used in the signature at org.eclipse.jetty.websocket.server.WebSocketServerFactory.upgrade(WebSocketServerFactory.java:516)[na:na] at org.eclipse.jetty.websocket.server.WebSocketServerFactory.acceptWebSocket(WebSocketServerFactory.java:185)[na:na] at org.eclipse.jetty.websocket.server.WebSocketServerFactory.acceptWebSocket(WebSocketServerFactory.java:152)[na:na] at org.atmosphere.container.Jetty9AsyncSupportWithWebSocket$1.acceptWebSocket(Jetty9AsyncSupportWithWebSocket.java:146)[na:na] at org.atmosphere.container.Jetty9AsyncSupportWithWebSocket.service(Jetty9AsyncSupportWithWebSocket.java:175)[na:na] at org.atmosphere.cpr.AtmosphereFramework.doCometSupport(AtmosphereFramework.java:2287)[na:na]
    No Bugmate found.