springCloud-zuul,网关配置开启不了的问题.Failed to configure a DataSource: ‘url‘ attribute is not specified

解决方法:

//在启动类添加注解配置

@SpringBootApplication(scanBasePackages = "com.byx.communitycontrol",exclude = {DataSourceAutoConfiguration.class})

猜你喜欢

转载自blog.csdn.net/gp_911014/article/details/130572524