tk.mybatis.mapper.provider.EmptyProvider中缺少insertListNotUseGeneratedKey方法!

开发中遇到的一个异常:
产生的异常:
PropertyAccessException 1: org.springframework.beans.MethodInvocationException: Property ‘properties’ threw exception; nested exception is tk.mybatis.mapper.MapperException: tk.mybatis.mapper.provider.EmptyProvider中缺少insertListNotUseGeneratedKey方法!
解决:由于引入了

org.springframework.boot
spring-boot-devtools
true

,个人推测原因是devtools与其他的jar产生冲突,注释掉热部署即可。

猜你喜欢

转载自blog.csdn.net/m0_37948170/article/details/80943499