整合sentinel报错 访问/actuator/sentinel正常,但是在微服务调用时报错
来源:8-4 Sentinel控制台
superLiuLiuLiu
2020-09-12
应用版本信息
<dependencyManagement>
<dependencies>
<!--整合spring cloud-->
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>Greenwich.SR1</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<!--整合spring cloud alibaba-->
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-alibaba-dependencies</artifactId>
<version>0.9.0.RELEASE</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
sentinel是1.5.2版本的和视频中一致。
我在服务器上运行了sentinel控制台,其版本与视频中一致为1.6.2
配置信息如下:
sentinel:
transport:
dashboard: 139.9.95.33:8080
但是在访问分享信息接口时内容中心报错显示配置错误,找不到数据源?
项目的代码地址为:
https://github.com/superliuliuliu/wxprogram
麻烦大目老师帮我看看是哪里出了问题?
写回答
1回答
-
superLiuLiuLiu
提问者
2020-09-12
已解决,去年买的课 看了一半,最近重新开始看用的之前的代码 发现问题出在持久化规则这了
012020-09-12
相似问题