Hello Jaime,

the requested class is normally located inside the jar of the Freemarker 
library (org.freemarker.jar in the classpath definition). Could you 
check this point?

Best regards,
Thierry Boileau

> Thanks a lot but now i am getting a different error:
>
> C:\restlet\Edition Java EE\2.0 Snapshot\lib>java -cp 
> org.restlet.jar;org.restlet
> .ext.xml.jar;org.restlet.ext.atom.jar;org.restlet.ext.freemarker.jar;org.restlet
> .ext.dataservices.jar;org.freemarker.jar 
> org.restlet.ext.dataservices.Generator
> http://restlet.cloudapp.net/TestAssociationOneToOne.svc/ c:\TestADO
> Jan 25, 2010 11:13:41 AM org.restlet.ext.dataservices.Session getMetadata
> INFO: Get the metadata for 
> http://restlet.cloudapp.net/TestAssociationOneToOne.s
> vc at http://restlet.cloudapp.net/TestAssociationOneToOne.svc/$metadata
> Jan 25, 2010 11:13:41 AM org.restlet.engine.http.connector.HttpClientHelper 
> star
> t
> INFO: Starting the default HTTP client
> Exception in thread "main" java.lang.NoClassDefFoundError: 
> freemarker/template/C
> onfiguration
>          at 
> org.restlet.ext.dataservices.Generator.generateSourceCode(Generator.j
> ava:156)
>          at org.restlet.ext.dataservices.Generator.main(Generator.java:107)
> Caused by: java.lang.ClassNotFoundException: freemarker.template.Configuration
>          at java.net.URLClassLoader$1.run(Unknown Source)
>          at java.security.AccessController.doPrivileged(Native Method)
>          at java.net.URLClassLoader.findClass(Unknown Source)
>          at java.lang.ClassLoader.loadClass(Unknown Source)
>          at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
>          at java.lang.ClassLoader.loadClass(Unknown Source)
>          ... 2 more
>
>
>    
>> Hi Jaime,
>>
>> I'm sorry, I updated a few days later the tutorial page, and not the
>> first one...
>> Could you have a look here instead:
>> http://wiki.restlet.org/docs_2.0/288-restlet.html#dsy288-restlet_codeGeneration
>> I update the first one.
>>
>> Best regards,
>> Thierry Boileau
>>
>>      
>>> I already review the page, but i can not find what this error could be, 
>>> theres a way i can realized what is happening?
>>>
>>> ------------------------------------------------------
>>> http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2441811
>>>
>>>
>>>        
> ------------------------------------------------------
> http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2441820
>
>

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

Reply via email to