Mapper icon indicating copy to clipboard operation
Mapper copied to clipboard

mapstruct冲突

Open pangxinhua opened this issue 3 years ago • 1 comments

  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的类被代理所致

pangxinhua avatar Nov 21 '22 14:11 pangxinhua

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

abel533 avatar Nov 24 '22 08:11 abel533