开发者社区 > 云原生 > 正文

Sentinel 1.6.3+apollo无法解析对bean“Sentinel json gw流转换

Issue Description org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ds5-sentinel-apollo-datasource': Cannot resolve reference to bean 'sentinel-json-gw-flow-converter' while setting bean property 'converter'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'sentinel-json-gw-flow-converter' available

Describe what happened (or what feature you want) spring.cloud.sentinel.datasource.ds.apollo.namespace-name = sentinel spring.cloud.sentinel.datasource.ds.apollo.flow-rules-key = flow.rules spring.cloud.sentinel.datasource.ds.apollo.rule-type = flow

spring.cloud.sentinel.datasource.ds1.apollo.namespace-name = sentinel spring.cloud.sentinel.datasource.ds1.apollo.flow-rules-key = degrade.rules spring.cloud.sentinel.datasource.ds1.apollo.rule-type = degrade

spring.cloud.sentinel.datasource.ds2.apollo.namespace-name = sentinel spring.cloud.sentinel.datasource.ds2.apollo.flow-rules-key = param_flow.rules spring.cloud.sentinel.datasource.ds2.apollo.rule-type = param_flow

spring.cloud.sentinel.datasource.ds3.apollo.namespace-name = sentinel spring.cloud.sentinel.datasource.ds3.apollo.flow-rules-key = system.rules spring.cloud.sentinel.datasource.ds3.apollo.rule-type = system

spring.cloud.sentinel.datasource.ds4.apollo.namespace-name = sentinel spring.cloud.sentinel.datasource.ds4.apollo.flow-rules-key = authority.rules spring.cloud.sentinel.datasource.ds4.apollo.rule-type = authority

spring.cloud.sentinel.datasource.ds5.apollo.namespace-name = sentinel spring.cloud.sentinel.datasource.ds5.apollo.flow-rules-key = gw_flow.rules spring.cloud.sentinel.datasource.ds5.apollo.rule-type = gw_flow

spring.cloud.sentinel.datasource.ds6.apollo.namespace-name = sentinel spring.cloud.sentinel.datasource.ds6.apollo.flow-rules-key = gw_api_group.rules spring.cloud.sentinel.datasource.ds6.apollo.rule-type = gw_api_group

原提问者GitHub用户zcjhwl

展开
收起
码字王 2023-05-19 17:04:22 125 0
1 条回答
写回答
取消 提交回答
  • 需要用1.5.0.RELEASE 版本,或是参考下面链接:

    https://github.com/alibaba/spring-cloud-alibaba/releases

    原回答者GitHub用户cdfive

    2023-05-19 21:15:33
    赞同 展开评论 打赏

阿里云拥有国内全面的云原生产品技术以及大规模的云原生应用实践,通过全面容器化、核心技术互联网化、应用 Serverless 化三大范式,助力制造业企业高效上云,实现系统稳定、应用敏捷智能。拥抱云原生,让创新无处不在。

相关电子书

更多
神龙云服务器产品及技术深度解析 立即下载
弹性创造价值:基于ECS的最佳性价比实践解析 立即下载
又快又稳:阿里云下一代虚拟交换机解析 立即下载

相关镜像