On 3/23/07, Michael Giroux <[EMAIL PROTECTED]> wrote:
I'm developing an Eclipse plug-in that uses Velocity. In fact, There are three plug-ins that use Velocity. One of these was built with Velocity 1.5. The other two were build with Velocity 1.4. All three were working nicely. I updated the two that were using Velocity 1.4 to Velocity 1.5 and started getting the following error from the on that was previously working perfectly.I'm using the Velocity-dep-1.5.jar in all three projects. Can anyone suggest what I might have messed up to create this error? Michael Giroux ---- Mar 23, 2007 11:15:24 AM org.apache.velocity.runtime.log.JdkLogChute log SEVERE: The specifid logger class org.apache.velocity.runtime.log.Log4JLogChute isn't a valid LogChute implementation. Mar 23, 2007 11:15:24 AM org.apache.velocity.runtime.log.JdkLogChute log SEVERE: The specified class for ResourceManager (org.apache.velocity.runtime.resource.ResourceManagerImpl) does not implement org.apache.velocity.runtime.resource.ResourceManager; Velocity is not initialized correctly. java.lang.Exception: The specified class for ResourceManager (org.apache.velocity.runtime.resource.ResourceManagerImpl) does not implement org.apache.velocity.runtime.resource.ResourceManager; Velocity is not initialized correctly. at org.apache.velocity.runtime.RuntimeInstance.initializeResourceManager(RuntimeInstance.java:589) at org.apache.velocity.runtime.RuntimeInstance.init(RuntimeInstance.java:241) at org.apache.velocity.runtime.RuntimeInstance.init(RuntimeInstance.java:534) at org.apache.velocity.app.VelocityEngine.init(VelocityEngine.java:144)
Well, considering that i'm pretty sure ResourceManagerImpl implements ResourceManager and Log4JLogChute implements LogChute, then this has got to be some funky classloader issue. Unfortunately, these aren't my forte, but perhaps others can help here. can you tell us anymore about your setup? where jars are at? how they're being loaded? also, are you using the Velocity singleton at all, or are you using VelocityEngine's?
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
