[英]Error in Spring Security core plugin while upgrading grails from 1.3.x to 2.0.4
[英]Getting an error “unable to resolve class org.jfree.util.Log grails” after upgrading grails from 1.3.x to 2.0.4
我已经在grails 1.3.x版本中开发了应用程序,我已升级到2.0.4,我有一个Log.debug()
语句并导入import org.jfree.util.Log
Log.debug()
包,当我运行该应用程序时,它给了我错误。
unable to resolve class org.jfree.util.Log grails
升级后log4j的配置是什么,如何解决此问题。
这是登录grails 2.0的方法
package org.other
import org.apache.commons.logging.LogFactory
class MyClass { private static final log = LogFactory.getLog(this) … }
然后使用log.debug(...)
请参阅日志指南
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.