Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
1.4
-
None
-
None
-
any java env
Description
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