I'm trying to use the camel-freemarker component in Windows 7 x64 with Camel
2.8 running in Karaf 2.2.2.

I've used camel-velocity with success using the following URI:
velocity:file:J:\Apache\velocity_templates\failed_notification_email.vm?contentCache=false

So, I tried doing the same with a freemarker template:
freemarker:file:J:\Apache\freemarker_templates\failed_notification_email.ftl?contentCache=false

However, freemarker always throws a FileNotFoundException saying "Template
file: J:\blah..blah...ftl not found".  I've tried simplifying the file path
e.g. J:\failednotificationemail.ftl as well as trying freemarker://file:J:\,
freemarker://file://J:\, freemarker:file://J:\ etc. and other drives, giving
Everyone full permissions, etc.

Is anybody else able to reproduce this?  I would find it hard to believe it
was an issue with the uri since it worked with velocity...

// cyle

--
View this message in context: 
http://camel.465427.n5.nabble.com/camel-freemarker-FileNotFoundException-tp4689657p4689657.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to