File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes Restlet exception: NoSuchFieldError Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Restlet exception: NoSuchFieldError" Watch "Restlet exception: NoSuchFieldError" New topic
Author

Restlet exception: NoSuchFieldError

Jason Bock
Greenhorn

Joined: Dec 27, 2008
Posts: 19
Trying to setup restlet for the first time, upon trying to run the standalone First Steps example provided on their site I got the following error:



I downloaded the zip from their site and imported all the jars, the code itself was copy & pasted directly from their site. Any suggestions?
Ivan Krizsan
Ranch Hand

Joined: Oct 04, 2006
Posts: 2198
    
    1
Hi!
I think your problem is that you have all the JARs included in your project. Remove all JARs except the following:
com.noelios.restlet.jar and org.restlet.jar
Try compiling your project and, if compilation fails, add JARs as needed.
Do not add JARs you do not need - for instance, the error you get is related to the Restlet-Google Web Toolkit integration, something you do not need for the example program.
Best wishes!
Dan Drillich
Ranch Hand

Joined: Jul 09, 2001
Posts: 1164
Jason,

A Restlet forum is available to you.

Regards,
Dan

William Butler Yeats: All life is a preparation for something that probably will never happen. Unless you make it happen.
Jason Bock
Greenhorn

Joined: Dec 27, 2008
Posts: 19
Thanks guys.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Restlet exception: NoSuchFieldError
 
Similar Threads
File Uploading Applet
java.net.UnknownHostException using JSSE
Applet File Permission !!
file reading in applet
How to tell which port mySQL is running on?