Announcement Announcement Module
Collapse
No announcement yet.
Velocity and the VM_global_library.vm file Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

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

  • #2
    It seems this special file contains Velocity macros (am I right ?)
    yes

    Is this error «dangerous» ?
    no

    Can I ignore it ?
    yes

    Comment

    Working...
    X