You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by "Henning Schmiedehausen (JIRA)" <de...@velocity.apache.org> on 2007/03/08 01:16:29 UTC

[jira] Closed: (VELOCITY-461) Class loading issue

     [ https://issues.apache.org/jira/browse/VELOCITY-461?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Henning Schmiedehausen closed VELOCITY-461.
-------------------------------------------


> Class loading issue
> -------------------
>
>                 Key: VELOCITY-461
>                 URL: https://issues.apache.org/jira/browse/VELOCITY-461
>             Project: Velocity
>          Issue Type: Bug
>    Affects Versions: 1.4
>         Environment: any java env
>            Reporter: Vladimir Goncharov
>            Priority: Blocker
>             Fix For: 1.5
>
>
> If Velocity.jar is loaded from the WL classpath then it cannot load resources from the war or ear. This applies to both template resources as well as to the loader of the resources loaders themselves e.g. custom ClasspathResourceLoader couldn't be loaded when velocity.jar was loaded from the WL app claspath and the custom class was loaded from the ear.
> In my view all appearances of this.getClass().getClassLoader() should be replaced by Thred.currentThread.getContextClassLoader()
> Thanks

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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