CometdPushService.get()抛出NullPointerException
<dependency>
<groupId>org.wicketstuff</groupId>
<artifactId>wicketstuff-push-cometd</artifactId>
<version>7.0.0-M5</version>
</dependency>
TimerPushService.get()作为例外工作但想使用Cometd来管理带宽。
java.lang.NullPointerException
at org.wicketstuff.push.cometd.CometdPushService.<init>(CometdPushService.java:133)
at org.wicketstuff.push.cometd.CometdPushService.get(CometdPushService.java:107)
at org.wicketstuff.push.cometd.CometdPushService.get(CometdPushService.java:97)
发现这篇好文章https://groups.google.com/forum/#!topic/cometd-users/Kn13KSHqrAw但是在启动时失败了
java.lang.NoClassDefFoundError: org/eclipse/jetty/util/thread/Timeout
at org.cometd.server.BayeuxServerImpl.<init>(BayeuxServerImpl.java:89)
at com.erranda.prototype.WebsocketConfiguration.bayeuxServer(WebsocketConfiguration.java:78)
at com.erranda.prototype.WebsocketConfiguration$$EnhancerBySpringCGLIB$$9e079365.CGLIB$bayeuxServer$4(<generated>)
at com.erranda.prototype.WebsocketConfiguration$$EnhancerBySpringCGLIB$$9e079365$$FastClassBySpringCGLIB$$44de86de.invoke(<generated>)