Results 1 to 2 of 2

Thread: Velocity and the VM_global_library.vm file

  1. #1
    Join Date
    Sep 2005
    Posts
    18

    Default 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

  2. #2
    Join Date
    Aug 2004
    Location
    London, UK
    Posts
    339

    Default

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

    Is this error «dangerous» ?
    no

    Can I ignore it ?
    yes
    Darren Davison.
    Public Key: 0xE855B3EA

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •