Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Restlet Problem  RSS feed

 
Ganesh Ravi Kumar
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............
 
Ivan Krizsan
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.....
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!