我把我Log4jConfig.groovy
的grails-app/conf/configs/
我有一个这样的例外:
...nested exception is org.codehaus.groovy.grails.exceptions.GrailsConfigurationException: Class not found loading Grails application: configs.Log4jConfig
在我的 Config.groovy 中:
def configsLocation = [Log4jConfig]
environments {
development {
grails.config.locations = configsLocation
}
}
提前致谢。