出现conflicts with existing, non-compatible bean definition of same name and class类问题 是因为使用注解@MapperScan(basePackages = {“org.demo."}),这样没有指定到具体的包路径,会扫描到其他的包操作干扰异常,所以需要这样修改,扫描到指定的包@MapperScan(basePackages = {“org.demo.job.mapper”}),或@MapperScan(basePackages = {"org.demo..mapper”})