我是 grails 的新手,正在尝试调试我的应用程序。当我尝试调试我的应用程序时出现以下错误,但是它在正常模式下运行良好。我无法从错误描述中找出问题所在。我错过了什么吗?
Error 2013-05-28 15:59:13,903 [pool-7-thread-1] ERROR context.GrailsContextLoader - Error executing bootstraps: org/springframework/beans/TypeMismatchException
Message: org/springframework/beans/TypeMismatchException
BootStrap.groovy
class BootStrap {
def grailsApplication;
def atomUtil;
def init = { servletContext ->
grailsApplication.config.dpc.currentTimestamp = DateUtil.getCurrentDateMidnight(); // yesterday
// check the env only if in development mode
if (Environment.getCurrent().name != "development"
|| "${System.env['SCST_CONFIG_load_reference_data']}" == "true") {
def atomThread = Thread.start {
AtomInfo.withTransaction { status ->
atomUtil.initializeData();
}
}
def contextThread = Thread.start {
ContextInfo.withTransaction { status ->
ContextUtil.initializeData();
}
}
atomThread.join()
contextThread.join()
} else {
log.info "[env:${Environment.getCurrent().name}] Skipping ATOMS & CONTEXTS Load. In development, set environmental SCST_CONFIG_load_reference_data=true"
}
}
def destroy = {
}
}