abel533 / Mapper

Mybatis Common Mapper - Easy to use
https://mybatis.io
MIT License
7.29k stars 1.62k forks source link

mapstruct冲突 #873

Open pangxinhua opened 1 year ago

pangxinhua commented 1 year ago
  1. 使用tkmybatis-springboot,引入mapstruct
  2. 当使用mybatis.base-packages, 且未使用tk.mybatis.spring.annotation.MapperScan指定basePackages时,与mapstruct冲突!!!

出现异常:org.apache.ibatis.binding.BindingException: Invalid bound statement (not found) 个人认为是mapstruct的@Mapper的类被代理所致

abel533 commented 1 year ago

提供完整的异常信息看看,或者提交一个可验证的demo。