[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] Re: NPE in WebSocketServlet

2010/3/2 Sven Jacobs <sven.jacobs@xxxxxx>
The problem seems to be running the application from NetBeans with the jetty-maven-plugin. If I deploy my application to a standalone Jetty it works!

I get the impression that the source of the problem may be class loading issues. For example if I set the dependency org.eclipse.jetty.websockets in the pom.xml of my project to scope "provided" and then try to run the app with "mvn jetty:run" I get

java.lang.NoClassDefFoundError: org/eclipse/jetty/websocket/WebSocketServlet

Shouldn't Jetty provide all the dependencies?