velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Will Glass-Husain" <wgl...@forio.com>
Subject Re: Problem with decimal in most recent snapshot
Date Thu, 14 Apr 2005 00:40:18 GMT
Have you also downloaded and included the sub project VelocityTools? 
Required for the webapp loader.

WILL

----- Original Message ----- 
From: <jeichels@optonline.net>
To: "Velocity Users List" <velocity-user@jakarta.apache.org>
Sent: Wednesday, April 13, 2005 4:50 PM
Subject: Re: Problem with decimal in most recent snapshot


>
> Ughhhh.   No go yet assuming I should have compiled off of trunk.  I don't 
> need to add anything to the toolbox.xml do I to get it to work?  Odd I 
> didn't need to worry about any of this in 1.4, but maybe just the changes 
> mentioned.
>
> I looked up the links you showed, but not sure I am seeing anything wrong 
> with what I am doing in comparison.
>
>
> The bottom of my file now looks like:
>
> resource.loader = file,webapp
>
> file.resource.loader.class = 
> org.apache.velocity.runtime.resource.loader.FileResourceLoader
> file.resource.loader.path = /WEB-INF/templates
> file.resource.loader.cache = true
> file.resource.loader.modificationCheckInterval = 1800
>
> webapp.resource.loader.class = 
> org.apache.velocity.tools.view.servlet.WebappLoader
> webapp.resource.loader.path = /WEB-INF/templates
> webapp.resource.loader.cache = true
> webapp.resource.loader.modificationCheckInterval = 1800
>
>
>
>
>
> ----------------------------------------------------------------------
>
>
> Unable to find resource 
> '/WEB-INF/templates/pub/common/tiles/defaultTemplate.vm'
>
> org.apache.velocity.exception.ResourceNotFoundException: Unable to find 
> resource '/WEB-INF/templates/pub/common/tiles/defaultTemplate.vm'
> at 
> org.apache.velocity.runtime.resource.ResourceManagerImpl.loadResource(ResourceManagerImpl.java:463)
> at 
> org.apache.velocity.runtime.resource.ResourceManagerImpl.getResource(ResourceManagerImpl.java:346)
> at 
> org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:835)
> at 
> org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:817)
> at 
> org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:504)
> at 
> org.apache.velocity.tools.view.servlet.VelocityViewServlet.getTemplate(Unknown 
> Source)
> at 
> org.apache.velocity.tools.view.servlet.VelocityViewServlet.handleRequest(Unknown 
> Source)
> at 
> org.apache.velocity.tools.view.servlet.VelocityViewServlet.doRequest(Unknown 
> Source)
> at 
> org.apache.velocity.tools.view.servlet.VelocityViewServlet.doGet(Unknown 
> Source)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at 
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
> at 
> org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
> at 
> org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
> at 
> org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1056)
> at 
> org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:261)
> at 
> org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(TilesRequestProcessor.java:237)
> at 
> org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:300)
> at 
> org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:231)
> at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
> at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: velocity-user-help@jakarta.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org


Mime
View raw message