Win a copy of Mastering Corda: Blockchain for Java Developers this week in the Cloud/Virtualization forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Bear Bibeault
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Jj Roberts
  • Carey Brown
Bartenders:
  • salvin francis
  • Frits Walraven
  • Piet Souris

Restlet Problem

 
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
java.lang.ClassNotFoundException: org.restlet.util.Helper.

I know that the particular Helper class is not in the restlet jar(im using org.restlet.jar-2.0.0.jar) but if i go for the jar that it consist of Helper class, i caunt able to use restlet annotation post,get,etc........because it is in the jar version(org.restlet.jar-1.1.10).

But Helper class is not necessary for my application, i need only post and get annotation contained jar.

Why im going for get and post annotation is, im passing object from my web application to web service.

Its is not possible to pass object from web application to web service without annotation, may be it is possible but it is not a efficient way.......and annotation reduces more code when compare to normal way.

Any solutions.........will be appreciated............
 
Ranch Hand
Posts: 2198
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
Have you seen this?
http://www.mail-archive.com/discuss@restlet.tigris.org/msg12347.html
Best wishes!
 
Ganesh Ravi Kumar
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi thanks for you reply.........But i have already fixed it...........

Will you help me in this................

Whether it is possible to host both web application and web service in the same server.......like for eg in Apache Tomcat Server.

When im doing like this im getting an exception:

Internal Connector Error (1002) - The calling thread timed out while waiting for a response to unblock it.

But when work with web application part in GAE(Google App Engine) and web service part in Apache means its working fine.....

But my requirement is to host both of them in Apache Tomcat Server.

And once again thanks for your reply.....
 
Grow your own food... or this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic