Getting velocity error at statup "VM_global_library.vm"

John picture John · Mar 15, 2011 · Viewed 22.8k times · Source

I am using Velocity with Spring. But in Eclipse console I get this error. My code works fine, but I want to know how to fix it.

ResourceManager : unable to find resource 'VM_global_library.vm' in any resource loader.

Answer

adarshr picture adarshr · Mar 15, 2011

Looks like it is a harmless message. From the Velocity Documentation, if this file is present, Velocity loads this up as a location of global macros. I believe you can override the behaviour by resetting or overriding the value of the below property.

velocimacro.library=