org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com我

Posted 戈博小刀

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com我相关的知识,希望对你有一定的参考价值。

 

springboot 启动一直报Invalid bound statement (not found): com.xxl.job.admin.dao

 

org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.xxl.job.admin.dao.XxlJobLogDao.findFailJobLogIds

 

最终发现是当前项目中只使用了mybatis,而从父工程继承的jar包中包含有mybatis-plus的jar包,两种jar包冲突导致 mapper代码和xml映射不上

最后在pom中使用<scope>teste</scope>排除所有mybatis-plus的jar包后,问题解决

以上是关于org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com我的主要内容,如果未能解决你的问题,请参考以下文章

org.apache.ibatis.binding.BindingException原因汇总

org.apache.ibatis.binding.BindingException: Invalid bound statement (not found):

org.apache.ibatis.binding.BindingException: Invalid bound statement (not found):

org.apache.ibatis.binding.BindingException原因汇总

org.apache.ibatis.binding.BindingException: Invalid bound statement (not found):

org.apache.ibatis.binding.BindingException导致的原因