Hi Will,
My project is configured to use Velocity 1.5, and in the ear I have the
Velocity 1.5 jar.
I have to admit that I do not exactly understand what it means that it
will look in the thread context loader. I tried to modify my code this way:
prop.setProperty("class.resource.loader.class", Thread.currentThread()
.getContextClassLoader().getClass().getName());*
*but this gives this exception:
java.lang.Exception: Problem initializing template loader:
org.jboss.mx.loading.UnifiedClassLoader3
Error is: java.lang.InstantiationException:
org.jboss.mx.loading.UnifiedClassLoader3
at java.lang.Class.newInstance0(Class.java:340)
at java.lang.Class.newInstance(Class.java:308)
So, I think I still have the problem. Can u please provide a small piece
of code showing how could I use this inside an EJB?
Thanks.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]