Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spring boot 3.3.3 使用时报错 #81

Closed
3 tasks
qiujiayu opened this issue Sep 26, 2024 · 0 comments · Fixed by #82
Closed
3 tasks

Spring boot 3.3.3 使用时报错 #81

qiujiayu opened this issue Sep 26, 2024 · 0 comments · Fixed by #82

Comments

@qiujiayu
Copy link
Contributor

描述bug

在 spring boot 3.3.3 中使用 apollo-client 时,报如下错误:

o.s.c.a.ConfigurationClassPostProcessor : Cannot enhance @configuration bean definition 'com.ctrip.framework.apollo.spring.boot.ApolloAutoConfiguration' since its singleton instance has been created too early. The typical cause is a non-static @bean method with a BeanDefinitionRegistryPostProcessor return type: Consider declaring such methods as 'static' and/or marking the containing configuration class as 'proxyBeanMethods=false'.

复现

通过如下步骤可以复现:

期望

简介明了地描述你希望正常情况下应该发生什么

截图

如果可以,附上截图来描述你的问题

额外的细节和日志

  • 版本:
  • 错误日志
  • 配置:
  • 平台和操作系统
@qiujiayu qiujiayu mentioned this issue Sep 26, 2024
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant