You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@velocity.apache.org by ST...@thoughtworks.COM on 2002/11/20 07:11:05 UTC

unable to fin VM_global_library.vm

Anyone knows the reason for this :

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

I looked everywhere and can't find anything about it.

- shen



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: unable to fin VM_global_library.vm

Posted by Bill Burton <bi...@progress.com>.
Hello,

STham@thoughtworks.COM wrote:
> Anyone knows the reason for this :
> 
> [ERROR]  ResourceManager : unable to find resource 'VM_global_library.vm'
> in any resource loader.

That should really be a warning and not an error.

> I looked everywhere and can't find anything about it.

The VM_global_library.vm can be used to define macros for all templates. 
   If you're not using it, you can get rid of the error message either 
by creating an empty file with that name or, specifying a null value for 
the property velocimacro.library.  See the velocimacro section at 
http://jakarta.apache.org/velocity/developer-guide.html#Velocity%20Configuration%20Keys%20and%20Values 
for more info.

-Bill


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: unable to fin VM_global_library.vm

Posted by Peter Lynch <pe...@mindspring.com>.
It is normal if you did not create a 'VM_global_library.vm' file or are not
expecting velocity to find it. It is the default file that Velocity tries to
load velocimacros from. Things work fine if Velocity can't find it.

-Peter


----- Original Message -----
From: <ST...@thoughtworks.COM>
To: "Velocity Users List" <ve...@jakarta.apache.org>
Sent: Tuesday, November 19, 2002 10:11 PM
Subject: unable to fin VM_global_library.vm


>
> Anyone knows the reason for this :
>
> [ERROR]  ResourceManager : unable to find resource 'VM_global_library.vm'
> in any resource loader.
>
> I looked everywhere and can't find anything about it.
>
> - shen
>
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>