Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mapstruct冲突 #873

Open
pangxinhua opened this issue Nov 21, 2022 · 1 comment
Open

mapstruct冲突 #873

pangxinhua opened this issue Nov 21, 2022 · 1 comment

Comments

@pangxinhua
Copy link

pangxinhua commented Nov 21, 2022

  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 pangxinhua changed the title mapstrutc冲突 mapstruct冲突 Nov 22, 2022
@abel533
Copy link
Owner

abel533 commented Nov 24, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants