springCloud-zuul, the problem that the gateway configuration cannot be opened. Failed to configure a DataSource: 'url' attribute is not specified

Solution:

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

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

Guess you like

Origin blog.csdn.net/gp_911014/article/details/130572524