You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by Scott Eade <se...@backstagetech.com.au> on 2002/09/09 12:30:43 UTC

Re: Default.vm not found

> From: apdas <ap...@iitk.ac.in>
> 
> Hi friends,
> 
> I have created a directory structure like this
> 
> templates/app/screens/Index.vm
> templates/app/screens/Login.vm
> 
> When I try to execute the default turbine servlet the error message I
> get is like this.
> 
> Horrible Exception:
> org.apache.velocity.exception.ResourceNotFoundException: Unable to find
> resource 'layouts/Default.vm'
>       at
> org.apache.velocity.runtime.resource.ResourceManager.getResource(ResourceManag
> er.java)
>       at org.apache.velocity.runtime.Runtime.getTemplate(Runtime.java)
>       at org.apache.velocity.app.Velocity.mergeTemplate(Velocity.java)
>       at org.apache.velocity.app.Velocity.mergeTemplate(Velocity.java)
> 
> There is no mention of layouts directory in TurbineResources.properties.
> Is it mandatory ?
> What sholud I put under this directory ?
> 
> Can anyone help ?

Look at the sample newapp application that comes with the tdk.  Examination
of this application should steer you in the right direction.

Cheers,

Scott
-- 
Scott Eade
Backstage Technologies Pty. Ltd.
http://www.backstagetech.com.au



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>