解决方式:启动类注解修改成:@SpringBootApplication(exclude = DruidDataSourceAutoConfigure.class)
@SpringBootApplication(exclude = DruidDataSourceAutoConfigure.class)
@MapperScan(value = "com.xxx.xxx.dao")
public class RefineinnerApplication {
public static void main(String[] args) {
SpringApplication.run(RefineinnerApplication.class, args);
}
}