Hi Guillaume,

this error "Exception in thread "main" java.lang.NoClassDefFoundError:
com/google/gwt/user/client/rpc/IsSerializable" is due to the missing
library com.sun.syndication.jar in your classpath. This library is shipped
with tthe Restlet in the "lib" directory.

this error "Exception in thread "main" java.lang.NoClassDefFoundError:
com/google/gwt/user/client/rpc/IsSerializable" is due to the missing
library  com.google.gwt.server.jar in your classpath. This library is
shipped with the Restlet in the "lib/com.google.gwt.server" directory.
But I think this class is already hosted by the "gwt-servlet.jar" archive...

Best regards,
Thierry Boileau

I've the same issue my war lib directory look like this
>
> appengine-api-1.0-sdk-1.6.2.jar
> appengine-api-labs-1.6.2.jar
> appengine-jsr107cache-1.6.2.jar
> c2dm-server.jar
> c2dm-server-src.jar
> datanucleus-appengine-1.0.10.final.jar
> datanucleus-core-1.1.5.jar
> datanucleus-jpa-1.1.5.jar
> geronimo-jpa_3.0_spec-1.1.1.jar
> geronimo-jta_1.1_spec-1.1.1.jar
> google_sql.jar
> gwt-servlet.jar
> javax.servlet.jar
> javax.xml.bind.jar
> javax.xml.stream.jar
> jdo2-api-2.3-eb.jar
> json-1.5.jar
> jsr107cache-1.1.jar
> org.codehaus.jackson.core.jar
> org.codehaus.jackson.mapper.jar
> org.json.jar
> org.restlet.ext.jackson.jar
> org.restlet.ext.json.jar
> org.restlet.ext.servlet.jar
> org.restlet.jar
> validation-api-1.0.0.GA.jar
> validation-api-1.0.0.GA-sources.jar
>
> An the exception
>
> Exception in thread "main" java.lang.NoClassDefFoundError: 
> com/google/gwt/user/client/rpc/IsSerializable
>     at org.restlet.ext.gwt.GwtConverter.getVariants(GwtConverter.java:75)
>     at 
> org.restlet.engine.converter.ConverterUtils.getVariants(ConverterUtils.java:93)
>     at 
> org.restlet.service.ConverterService.getVariants(ConverterService.java:116)
>     at 
> org.restlet.engine.resource.AnnotationInfo.getResponseVariants(AnnotationInfo.java:438)
>     at 
> org.restlet.engine.resource.ClientInvocationHandler.invoke(ClientInvocationHandler.java:217)
>     at $Proxy5.getUsers(Unknown Source)
>     at com.youfood.client.Client.main(Client.java:23)
>
> or
>
> Exception in thread "main" java.lang.NoClassDefFoundError: 
> com/sun/syndication/feed/synd/SyndFeed
>       at org.restlet.ext.rome.RomeConverter.getVariants(RomeConverter.java:76)
>       at 
> org.restlet.engine.converter.ConverterUtils.getVariants(ConverterUtils.java:93)
>       at 
> org.restlet.service.ConverterService.getVariants(ConverterService.java:116)
>       at 
> org.restlet.engine.resource.AnnotationInfo.getResponseVariants(AnnotationInfo.java:438)
>       at 
> org.restlet.engine.resource.ClientInvocationHandler.invoke(ClientInvocationHandler.java:217)
>       at $Proxy7.retrieve(Unknown Source)
>       at com.restletexample.Test.main(Test.java:18)
>
>  Thierry Boileau wrote
>  Hello, could you describe what are your needs? That is to says, the kind
> of Restlet extensions you need. Then, in each distribution, you can have a
> look at the "/lib/readme.txt" file. it lists extensions and their
> dependencies. Best regards, Thierry Boileau
> ------------------------------------------------------
> http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2702700
>
>
> ------------------------------
> View this message in context: RE: V2. RC.3 : java.lang.NoSuchMethodError
> when POSTing 
> xml<http://restlet-discuss.1400322.n2.nabble.com/V2-RC-3-java-lang-NoSuchMethodError-when-POSTing-xml-tp5114202p7292103.html>
> Sent from the Restlet Discuss mailing list 
> archive<http://restlet-discuss.1400322.n2.nabble.com/>at Nabble.com.
>

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2925388

Reply via email to