通用mapper报错tk.mybatis.mapper.provider.EmptyProvider中缺少selectOne方法!

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tk.mybatis.mapper.autoconfigure.MapperAutoConfiguration': Invocation of init method failed; nested exception is tk.mybatis.mapper.MapperException: tk.mybatis.mapper.provider.EmptyProvider中缺少selectOne方法!
通用mapper报这个错,是因为与热部署的插件


    org.springframework.boot
    spring-boot-devtools
    true
冲突了,注视这个插件后就好了

你可能感兴趣的:(通用mapper报错tk.mybatis.mapper.provider.EmptyProvider中缺少selectOne方法!)