Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Restlet exception: NoSuchFieldError

 
Jason Bock
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2198
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1183
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jason,

A Restlet forum is available to you.

Regards,
Dan
 
Jason Bock
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks guys.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic