Hi Domnic, 

 

This really looks like a mix of class/JAR versions.

I would first ensure that all the Restlet JARs files that you deploy come
from the exact same Restlet edition and version.

 

Best regards,

Jerome

--

 <http://www.restlet.org/> http://www.restlet.org

 <http://twitter.com/#!/jlouvel> http://twitter.com/#!/jlouvel

 

 

De : [email protected] [mailto:[email protected]] De la part de Tim
Peierls
Envoyé : jeudi 2 février 2012 23:07
À : [email protected]
Objet : Re: Re: AWS and Freemaker + Restlet

 

You could try instrumenting getBestHelper so that it dumps the concrete type
of the ConverterHelper, ch, just before it tries to call the score method.

 

It certainly sounds as though the Restlet Engine is not finding the
Freemarker extension in the classpath, but I don't know why that might be
happening.

 

--tim

On Thu, Feb 2, 2012 at 4:58 PM, Domnic <[email protected]> wrote:

Hello Tim,
Thanks for your reply. I have to learn Guice and follow up your code.. I
will try that ASAP. meanwhile I tried the manual way... when I export a
standalone restlet application into a war..and deploy in aws, it works.. but
the moment I try to use the freemaker.. I get the errors. I rechecked the
jars...and imported them in the WEB/lib folder and referenced it in the
class path. Now I get a different error..

java.lang.AbstractMethodError
       at
org.restlet.engine.converter.ConverterUtils.getBestHelper(ConverterUtils.jav
a:137)
       at
org.restlet.service.ConverterService.toRepresentation(ConverterService.java:
208)

it is at the converterUtils. do you think it is still the jars.or I am
missing something on my web.xml..?

thanks
domnic

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447
<http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2917
602> &dsMessageId=2917602

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

Reply via email to