JAVA微服务
JAVA微服务
AmBestToday
记录开发中遇到的各种问题与解决方案,既是技术复盘,也是成长足迹。
希望通过技术交流认识更多志同道合的朋友,一起在代码世界中探索前行。
技术之外,也热爱生活,坐标上海,期待与有趣的灵魂相遇。
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
springcloud_“SentinelWebAutoConfiguration循环依赖问题“
1.不加载这个配置类,修改配置文件中将如下属性修改为false,完美的解决方案:(添加一个 允许环依赖 的 配置)方便升级,升级没有太大工作量,建议升级到最新版本。原创 2023-05-09 21:37:13 · 720 阅读 · 0 评论 -
springcloud_“Relying upon circular references is discouraged and they are prohibited by default.“
依赖循环引用是不鼓励的,默认情况下是禁止的。更新应用程序以删除bean之间的依赖循环。作为最后的手段,可以通过设置spring.main来自动打破循环。allow-circular-references为true。解决升级 Spring Boot 2.6后,因循环引用导致启动时报错的问题。可以通过在配置文件中配置如下属性以恢复正常。原创 2023-05-09 21:38:54 · 2306 阅读 · 0 评论 -
springcloud_“org.springframework.cloud.client.discovery.EnableDiscoveryClient找不到“
org.springframework.cloud.client.discovery.EnableDiscoveryClient找不到前言:使用Spring Cloud(微服务)的时候,找不到org.springframework.cloud.client.discovery.EnableDiscoveryClient.后面通过百度之后了解到,可能是Maven镜像的问题。1.maven镜像有两种配置:这里我们说其中一种在settings.xml中进行配置在settings.xml中进行配置会对所有原创 2020-09-03 16:54:50 · 9642 阅读 · 1 评论 -
springcloud_“完美解决failed to configure a datasource: ‘url‘ attribute is not specified and no em“
完美解决failed to configure a datasource: ‘url‘ attribute is not specified and no em。原创 2023-05-15 22:27:51 · 424 阅读 · 0 评论
分享