I'm also seeing this, has their been any updates or anyone know of a fix?
This happened trying to upgrade my jars to gwt 2.5
On Monday, November 5, 2012 1:15:43 PM UTC-5, daniel9x wrote:
>
> Hey Bauna,
>
> How exactly would I implement that jar to my project in Eclipse? I try
> adding it to the classpath, but still get the same error. Any input would
> help, thanks.
>
> On Wednesday, October 31, 2012 1:45:52 PM UTC-4, Bauna wrote:
>>
>> Moritz,
>> Until you find the actual problem you can use this jar.
>>
>> Regards,
>> --
>> Bauna
>>
>> On 10/31/2012 09:08 AM, Moritz wrote:
>> > Hi all,
>> >
>> > I get a NoClassDefFoundError for com.google.gwt.core.client.GWTBridge
>> > when I throw a RuntimeException on a server RPC. When I do not throw
>> > the RuntimeException and the RPC completes fine also no
>> > NoClassDefFoundError is thrown.
>> > As a workaround, I created an abstract
>> > com.google.gwt.core.client.GWTBridge which simply extends the
>> > ...shared.GWTBridge class. I read about
>> > http://code.google.com/p/google-web-toolkit/issues/detail?id=7527 but
>> > it seems that this is something different, or not? Any solution?
>> >
>> > Cheers,
>> > Moritz.
>> >
>> > PD, here comes the full stack trace, the exception seems to be related
>> > to the Guice filters:
>> >
>> > SEVERE: javax.servlet.ServletContext log: Exception while dispatching
>> > incoming RPC call
>> > java.lang.NoClassDefFoundError: com/google/gwt/core/client/GWTBridge
>> > at java.lang.Class.forName0(Native Method)
>> > at java.lang.Class.forName(Class.java:186)
>> > at
>> >
>> com.google.appengine.tools.development.agent.runtime.RuntimeHelper.checkRestricted(RuntimeHelper.java:70)
>>
>>
>> > at
>> >
>> com.google.appengine.tools.development.agent.runtime.Runtime.checkRestricted(Runtime.java:64)
>>
>>
>> > at
>> >
>> com.google.gwt.user.client.rpc.core.java.util.Arrays$ArrayList_CustomFieldSerializer.serialize(Arrays.java:64)
>>
>>
>> > at
>> >
>> com.google.gwt.user.client.rpc.core.java.util.Arrays$ArrayList_CustomFieldSerializer.serializeInstance(Arrays.java:94)
>>
>>
>> > at
>> >
>> com.google.gwt.user.client.rpc.core.java.util.Arrays$ArrayList_CustomFieldSerializer.serializeInstance(Arrays.java:34)
>>
>>
>> > at
>> >
>> com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serializeImpl(ServerSerializationStreamWriter.java:786)
>>
>>
>> > at
>> >
>> com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serialize(ServerSerializationStreamWriter.java:667)
>>
>>
>> > at
>> >
>> com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamWriter.writeObject(AbstractSerializationStreamWriter.java:126)
>>
>>
>> > at
>> >
>> com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter$ValueWriter$8.write(ServerSerializationStreamWriter.java:153)
>>
>>
>> > at
>> >
>> com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serializeValue(ServerSerializationStreamWriter.java:585)
>>
>>
>> > at
>> >
>> com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serializeClass(ServerSerializationStreamWriter.java:755)
>>
>>
>> > at
>> >
>> com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serializeImpl(ServerSerializationStreamWriter.java:794)
>>
>>
>> > at
>> >
>> com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serialize(ServerSerializationStreamWriter.java:667)
>>
>>
>> > at
>> >
>> com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamWriter.writeObject(AbstractSerializationStreamWriter.java:126)
>>
>>
>> > at
>> >
>> com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter$ValueWriter$8.write(ServerSerializationStreamWriter.java:153)
>>
>>
>> > at
>> >
>> com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serializeValue(ServerSerializationStreamWriter.java:585)
>>
>>
>> > at com.google.gwt.user.server.rpc.RPC.encodeResponse(RPC.java:605)
>> > at
>> >
>> com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure(RPC.java:393)
>> > at
>> >
>> com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:579)
>> > at
>> >
>> com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:208)
>>
>>
>> > at
>> >
>> com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:248)
>>
>>
>> > at
>> >
>> com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
>>
>>
>> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
>> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>> > at
>> >
>> com.google.inject.servlet.ServletDefinition.doService(ServletDefinition.java:263)
>>
>>
>> > at
>> >
>> com.google.inject.servlet.ServletDefinition.service(Serv