Velocity and the VM_global_library.vm file
Hi,
I'm using Spring with Velocity facilities.
I'm only using the latter for email templating, not for web pages.
When I launch my app, Spring/Velocity complains :
ERROR [org.apache.velocity.app.VelocityEngine] => ResourceManager : unable to find resource 'VM_global_library.vm' in any resource loader.
It seems this special file contains Velocity macros (am I right ?).
Is this error «dangerous» ? Can I ignore it ?
Spring's configuration is :
Code:
<bean id="VelocityEngine" class="org.springframework.ui.velocity.VelocityEngineFactoryBean">
<property name="resourceLoaderPath"><value>classpath:/templates</value></property>
</bean>
People saying it cannot be done should not interrupt people doing it - Chinese proverb