问答详情
源自:3-2 SQL 基本配置与执行

http://localhost:8081/MicroMessage/ListServlet这样访问就出现下面的异常,什么原因呢

### Error querying database.  Cause: org.apache.ibatis.builder.IncompleteElementException: Could not find SQL statement to include with refid 'Message.columns'
### Cause: org.apache.ibatis.builder.IncompleteElementException: Could not find SQL statement to include with refid 'Message.columns'


提问者:慕斯卡7494247 2018-05-30 20:07

个回答

  • 幕布斯0011243
    2018-05-31 13:46:20

    实际上这是因为在另一个Mapper.xml里将parameterType写成了parameterMap,而mybaties中已经不再用这个属性了。