项目启动报错时,Could not find SQL statement to include with refid 'where-all-condition-sh'
项目启动报错时,Could not find SQL statement to include with refid 'where-all-condition-sh':
解释:sql配置文件中的顺序错误,“where-all-condition-sh”应该配在查询语句前面,否则由于ibatis用SAX解析的缘故,先解析查询语句时找不到where条件,则会报错。
解决:在xml文件中,将单独的w...
原创
2018-08-23 14:02:22 ·
2048 阅读 ·
0 评论