首页 > 编程语言 >springboot中让sentinel持久化到nacos中报错sentinel持久化报错Error creating bean with name 'ds1-sentinel-nacos-

springboot中让sentinel持久化到nacos中报错sentinel持久化报错Error creating bean with name 'ds1-sentinel-nacos-

时间:2023-03-26 18:22:22浏览次数:39  
标签:持久 nacos alibaba 报错 datasource sentinel

若依框架报错原因:

pom中没有引入依赖:

       <!-- SpringCloud Alibaba Sentinel -->
        <dependency>
            <groupId>com.alibaba.cloud</groupId>
            <artifactId>spring-cloud-starter-alibaba-sentinel</artifactId>
        </dependency>

        <!-- Sentinel Datasource Nacos -->
        <dependency>
            <groupId>com.alibaba.csp</groupId>
            <artifactId>sentinel-datasource-nacos</artifactId>
        </dependency>

 

标签:持久,nacos,alibaba,报错,datasource,sentinel
From: https://www.cnblogs.com/nextgg/p/17259132.html

相关文章