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全名
相关文章推荐
- bootstrap3 标题文字类型
- 《前台框架BootStrap学习》系列技术文章整理收藏
- bootstrap折叠内容
- bootstrap的对话框和提示信息
- java大型企业级互联网框架平台 SpringMVC Mybatis Shiro Bootstrap
- bootstarap的提示信息和缩略图
- bootstrap的导航路径和分页器
- bootstrap的选项卡和选项卡的内容
- Bootstrap开发
- bootstrap的按钮和按钮群组
- Bootstrap里的文件作用
- bootstrap的选择列表和表单
- bootstrap学习之利用CSS属性pointer-events禁用表单控件
- bootstrap3 模态框(以后要坚持写博客)
- BootStrap 智能表单系列 十一 级联下拉的支持
- BootStrap 智能表单系列 十 自动完成组件的支持
- BootStrap 智能表单系列 九 表单图片上传的支持
- Bootstrap+Thinkphp3.2+Auth认证+jquery-validator后台
- Bootstrap系列 -- 9. 表格
- Bootstrap系列 -- 8. 代码显示