加入interceptors后报错
dao : {
type : "org.nutz.dao.impl.NutDao",
args : [ {
refer : "dataSource"
} ],
fields : {
interceptors : [ "log", // 默认的日志还需要的
"time"// 加个时间又如何呢?
]
}
报错:
Caused by: java.lang.NoSuchFieldException: Can NOT find field [interceptors] in class [org.nutz.dao.impl.NutDao] and it's parents classes
why?