javaspringvelocity

Getting velocity error at statup "VM_global_library.vm"


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.


Solution

  • 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=