qq_30989575 2019-11-18 11:21 采纳率: 100%
浏览 976
已采纳

idea spring boot (网上找了很久很久的答案):绑定错误:org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.example.springtest.dao.UserMapper.selectAll

感谢你们。

(已解决,你们看看我这个错误是特殊的错误,只有小白会犯的错,看评论)
绑定错误
org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.example.springtest.dao.UserMapper.selectAll

    <select id="selectAll" resultMap="BaseResultMap">
select * from user

图片说明

图片说明

图片说明

  • 写回答

1条回答 默认 最新

  • zhshchilss 2019-11-18 16:15
    关注

    1.mybatis用的是starter的包吗
    2.application.yml mybatis前面怎么空着格,没错误吗

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?