Message: Method on class [com.xslznl.hxb.MDjbddj01] was used outside of a Grails application. If running in the context of a test using the mocking API or bootstrap Grails correctly. 出现这个原因是因为在mapping里配置的数据源datasource 'xxxx' 有问题 ,必须是 DataSource.groovy里的dataSource_sqxxh下划线后边的不能写dataSource_sqxxh全名
If running in the context of a test using the mocking API or bootstrap Grails correctly
最新推荐文章于 2021-07-12 11:55:06 发布