Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Won't Fix
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Bayeux
-
Labels:None
-
Number of attachments :
Description
using the last version of the svn :
$ svn info
Path: .
URL: http://svn.codehaus.org/jetty-contrib/jetty/trunk/contrib/cometd/demo
Repository UUID: 75f45e39-591e-0410-848d-dd46f672e9f0
Revision: 638
Node Kind: directory
Schedule: normal
Last Changed Author: gregw
Last Changed Rev: 638
Last Changed Date: 2008-01-11 05:35:56 +0100 (Fri, 11 Jan 2008)
Properties Last Updated: 2007-12-20 17:08:16 +0100 (Thu, 20 Dec 2007)
$
I have the following error:
$ ~/java/maven2/bin/mvn jetty:run
...
error:
java.lang.NoSuchMethodError: org.mortbay.util.ajax.JSON.getStringBufferSize()I
at org.mortbay.cometd.MessageImpl.getJSON(MessageImpl.java:86)
at org.mortbay.cometd.JSONTransport.send(JSONTransport.java:81)
at org.mortbay.cometd.AbstractBayeux$HandshakeHandler.handle(AbstractBayeux.java:887)
at org.mortbay.cometd.AbstractBayeux.handle(AbstractBayeux.java:291)
at org.mortbay.cometd.continuation.ContinuationCometdServlet.doPost(ContinuationCometdServlet.java:103)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at org.mortbay.cometd.AbstractCometdServlet.service(AbstractCometdServlet.java:222)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
Jeremi,
Did you do a clean build of jetty at the top level? I've just checked out jetty head (svn rev 2308) and done a full clean build and the cometd demo (at svn rev 638) is running fine for me.
cheers
Jan