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

Optimize SOFABoot Configuration to avoid that some class cannot be applied bfpp. #220

Closed
QilongZhang opened this issue Sep 17, 2018 · 0 comments · Fixed by #221
Closed
Labels
enhancement New feature or request
Milestone

Comments

@QilongZhang
Copy link
Contributor

some warn log like this,

2018-09-17 15:06:06.076  WARN 25362 --- [           main] o.s.c.a.ConfigurationClassEnhancer       : @Bean method SofaModuleAutoConfiguration.sofaModuleBeanFactoryPostProcessor is non-static and returns an object assignable to Spring's BeanFactoryPostProcessor interface. This will result in a failure to process annotations such as @Autowired, @Resource and @PostConstruct within the method's declaring @Configuration class. Add the 'static' modifier to this method to avoid these container lifecycle issues; see @Bean javadoc for complete details.
2018-09-17 15:06:06.097  INFO 25362 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'com.alipay.sofa.runtime.spring.configuration.SofaRuntimeAutoConfiguration' of type [class com.alipay.sofa.runtime.spring.configuration.SofaRuntimeAutoConfiguration$$EnhancerBySpringCGLIB$$87245eea] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2018-09-17 15:06:06.104  INFO 25362 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'bindingConverterFactory' of type [class com.alipay.sofa.runtime.service.impl.BindingConverterFactoryImpl] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2018-09-17 15:06:06.106  INFO 25362 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'bindingAdapterFactory' of type [class com.alipay.sofa.runtime.service.impl.BindingAdapterFactoryImpl] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2018-09-17 15:06:06.109  INFO 25362 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'sofaRuntimeContext' of type [class com.alipay.sofa.runtime.spi.component.SofaRuntimeContext] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)

we should eliminate some log like this.

@QilongZhang QilongZhang added the enhancement New feature or request label Sep 17, 2018
@QilongZhang QilongZhang added this to the 2.5.0 milestone Sep 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant