1.在springboot里面进行junit单元测试的时候,一直提示org.apache.ibatis.binding.BindingException: Invalid bound statement (not found)这样的错误,苦寻答案,最后发现是添加mybatis-plus插件影响的,干掉mybatis-plus插件后,问题解决,能跑通junit
小提示:mybatis-plus是mybatis的增强版,所以要使用mybatis-plus就不用mybatis了,以免造成冲突
1.在springboot里面进行junit单元测试的时候,一直提示org.apache.ibatis.binding.BindingException: Invalid bound statement (not found)这样的错误,苦寻答案,最后发现是添加mybatis-plus插件影响的,干掉mybatis-plus插件后,问题解决,能跑通junit
小提示:mybatis-plus是mybatis的增强版,所以要使用mybatis-plus就不用mybatis了,以免造成冲突