Skip to content

Commit

Permalink
🐛 修复 SpringCloud 环境下 ContextRefresher 刷新后发布容器初始化事件(例如刷新 nacos 配置),导致 …
Browse files Browse the repository at this point in the history
…SpringUtils 内部持有的 ApplicationContext 实例被错误更新了的问题
  • Loading branch information
Hccake committed Jun 25, 2024
1 parent 4b40a6c commit efaf6ad
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 42 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
org.ballcat.common.util.SpringUtils

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
org.ballcat.common.util.SpringUtils

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,4 @@ org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
org.ballcat.autoconfigure.web.servlet.WebMvcAutoConfiguration,\
org.ballcat.autoconfigure.web.validation.BallcatValidationAutoConfiguration,\
org.ballcat.autoconfigure.web.undertow.BallcatUndertowAutoConfiguration,\
org.ballcat.autoconfigure.web.accesslog.AccessLogAutoConfiguration
org.springframework.context.ApplicationListener=\
org.ballcat.autoconfigure.web.event.ApplicationContextInitialized
org.ballcat.autoconfigure.web.accesslog.AccessLogAutoConfiguration

0 comments on commit efaf6ad

Please sign in to comment.