1.网关启动报错
Failed to bind properties under 'spring.cloud.sentinel.datasource.ds1.nacos.rule-type' to com.alibaba.cloud.sentinel.datasource.RuleType
![](https://img-blog.csdnimg.cn/1fbfee1be7de4a1ab00c0d4d021aff40.png)
报错场景:搭建好若依微服务项目后,启动网关报错如上
解决:升级jdk版本,我升级到了1.8.0_231。看了下官方回复,说是jdk版本问题,一开始我用的1.8.0_25,后升级为1.8.0_231,jdk版本升级后,如果开发工具使用的是idea,一定要记得将idea的jdk版本也调整到1.8.0_231,否则idea使用的依然是老版本!
![](https://img-blog.csdnimg.cn/3f972ad875b44b40bf3fc45b414a32ed.png)
![](https://img-blog.csdnimg.cn/bb850f1410a24b069043b6946739c625.png)