您的位置:首页 > Web前端 > BootStrap

If running in the context of a test using the mocking API or bootstrap Grails correctly

2015-06-22 11:23 591 查看
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全名
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: