You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by Henri Dupre <he...@gmail.com> on 2005/07/16 06:10:13 UTC

bug with classpath resources

I have in my .jwc file:
 <asset name="dispo1"
path="classpath:/actualis/web/tapestry/components/resources/dispo/a1.gif"/>

And I get this error:
Unable to locate asset
'/actualis/web/tapestry/components/resources/dispo/a1.gif' relative to
context:/WEB-INF/components/DispoArticle.jwc.

This was working in tp3 as private asset.

I run the execution through a debugger and the Resource passed to the
ClassPathAssetFactory is a ContextResource. I believe it should be
ClasspathResource.

Thanks,

Henri.

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