alibaba sentinel & nacos

  1. The dependencies of some of the beans in the application context form a cycle:org.springframework.boot.autoconfigure.web.servlet.WebMvcAutoConfiguration$EnableWebMvcConfiguration 循环依赖的问题,没有找到具体的问题,

    解决:办法是在配置文件中添加了以下内容

spring:
  main:
    allow-circular-references: true

  2. sentinel 规则配置持久化到nacos中 sentinel拉取不到的原因之一,重启一下sentinel试试。这个太绝了,任何文档上都没有说配置完成后要重启sentinel

posted @ 2022-04-17 19:42  muyi0813  阅读(84)  评论(0)    收藏  举报