Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-dev] classloader problem with Jetty 9.3.15 / CometD 3.1.0

Opened an issue for this at ...

Joakim Erdfelt / joakim@xxxxxxxxxxx

On Tue, Jan 10, 2017 at 9:45 AM, Michele Rossi <michele.rossi@xxxxxxxxx> wrote:

I am getting the following exception when trying to start up the WebSockets transport using CometD 3.1.0 and Jetty 9.3.15:

14:39:16.244|WARN |o.e.j.d.DeploymentManager||Unable to reach node goal: started
java.lang.LinkageError: loader constraint violation: when resolving method "org.eclipse.jetty.websocket.server.NativeWebSocketConfiguration.addMapping(Lorg/eclipse/jetty/http/pathmap/PathSpec;Lorg/eclipse/jetty/websocket/servlet/WebSocketCreator;)V" the class loader (instance of org/eclipse/jetty/webapp/WebAppClassLoader) of the current class, org/cometd/websocket/server/JettyWebSocketTransport, and the class loader (instance of org/eclipse/jetty/start/Classpath$Loader) for the method's defining class, org/eclipse/jetty/websocket/server/NativeWebSocketConfiguration, have different Class objects for the type org/eclipse/jetty/http/pathmap/PathSpec used in the signature
        at org.cometd.websocket.server.JettyWebSocketTransport.init(
        at org.cometd.server.BayeuxServerImpl.initializeServerTransports(
        at org.cometd.server.BayeuxServerImpl.doStart(
        at org.eclipse.jetty.util.component.AbstractLifeCycle.start(
        at org.cometd.server.CometDServlet.init(

Any clues on what might be causing it?

It did not occur with previous versions of Jetty / CometD.


jetty-dev mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit

Back to the top