老师,你好
我引用了下面3个必须的包
implementation("com.alibaba.csp:sentinel-datasource-nacos:1.8.3")
implementation("com.alibaba.cloud:spring-cloud-starter-alibaba-sentinel:2021.1")
implementation("com.alibaba.cloud:spring-cloud-alibaba-sentinel-gateway:2021.1")
增加了一个 SentinelConfig 类,如下:
@Slf4j
@Configuration
public class SentinelConfig {
}
启动就报错,怎么找到重复的bean, 去掉 public GlobalFilter sentinelGatewayFilter() { 的确能启动,