sentinel异常集
sentinel 2.1.0.RELEASE jdk 1.8.0_252 在使用sentinel 动态配置时,解析配置文件错误,异常如下
Failed to bind properties under 'spring.cloud.sentinel.datasource.ds1.file.rule-type' to com.alibaba.cloud.sentinel.datasource.RuleType:
Property: spring.cloud.sentinel.datasource.ds1.file.rule-type
Value: flow
Origin: class path resource [application.yml]:14:24
Reason: 2
Action:
Update your application's configuration
原因:jdk版本与sentinel版本不匹配,更换jdk版本 11.0.2 解决
sentinel与jdk版本问题详情参考:sentinel-datasource-xxx not support jdk1.8.0_20 · Issue #759 · alibaba/spring-cloud-alibaba · GitHub
浙公网安备 33010602011771号