[error] ResourceManager : unable to find resource ‘VM_global_library.vm’ in any resource loader.
来源:互联网 发布:win10 pe软件删除 编辑:程序博客网 时间:2024/05/16 06:51
velocity.log出现这样的错误:
Mon Jan 17 10:21:14 CST 2011 [error] ResourceManager : unable to find resource ‘VM_global_library.vm’ in any resource loader.
Mon Jan 17 10:21:14 CST 2011 [info] Velocimacro : error using VM library template VM_global_library.vm : org.apache.velocity.exception.ResourceNotFoundException: Unable to find resource ‘VM_global_library.vm’
但是,项目可以正常启动,运行,
而且整个项目中都没有VM_global_library.vm字样,看来是普遍问题了。
baidu一下,google一下,发现
Absence of ‘VM_global_library.vm’ does not cause the build to fail. Its a
standard velocity message and you should ignore it, if you are not using
velimacros.
也有的说是struct的版本问题,不管他了
还有一种解决方法:
直接修改Velocity的jar包里的属性文件即可,方法如下:
1)进入velocity-1.5.jar
2)打开org\apache\velocity\runtime\defaults\velocity.properties
3)修改内容如下:
runtime.log.logsystem.class = org.apache.velocity.runtime.log.NullLogSystem
以后再也不会有velocity.log文件出现了,也不会有找不到Log类的方法,更不需要添加这个logkit的jar包了。
http://www.jnavy.com/1040
- [error] ResourceManager : unable to find resource ‘VM_global_library.vm’ in any resource loader.
- [error]ResourceManager : unable to find resource 'VM_global_library.vm' in any reso
- SpringMVC运行报错 unable to find resource 'XXX.vm' in any resource loader
- Velocity 邮件模板在Spring 中发邮件报unable to find resource 'test.vm' in any resou的原因
- ResourceNotFoundException : Unable to find resource
- struts2-showcase项目启动报:Resource 'VM_global_library.vm' not found.
- Eclipse Benchmark 基准测试 报错:ERROR: Unable to find the resource: /META-INF/BenchmarkList
- Unable to find resource 'javax.servlet:jstl:jar:1.2' in repository central 的问题解决
- Maven: Unable to find resource 'javax.transaction:jta:jar:1.0.1B' in repository
- Smarty error: unable to read resource: "result.html" in Smarty.class.php on line 1093
- velocity学习-第一个例子就错,Unable to find resource
- struts2 apps 例子报错 WebappLoader : Resource 'VM_global_library.vm' not found
- angularjs - Error: [$resource:badcfg] Error in resource
- unable to rollback aborted in-doubt branch on resource
- Q:Is there any way to define what the "Open Resource" dialog in Eclipse should show?
- AngularJs错误:Error: [$resource:badcfg] Error in resource configuration
- android.content.res.Resources$NotFoundException: Unable to find resource ID #0x0
- android.content.res.Resources$NotFoundException: Unable to find resource ID #0xffffffff
- grub限制机器可使用的内存 linux内存限制
- Linux 查看目录大小
- This parser does not support specification "null" version "null" 问题的处理 .
- 黑马程序员-javabean、ClassLoader等
- Eclipse的Vim插件viPlugin的安装
- [error] ResourceManager : unable to find resource ‘VM_global_library.vm’ in any resource loader.
- Quartz定时任务学习(三)属性文件和jar
- eclipse快捷键
- 约瑟夫问题
- Spring--quartz中cronExpression配置说明
- 观察者模式(Observer Pattern) .NET设计模式
- 分隔符匹配
- Python 各种符号
- quartz 详解