apache / apache/incubator-seata
Starting a Warning error does not affect usage
- Dominant language
- Java
- Stars
- 26k
- Forks
- 8.8k
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 4
Description
### Ⅰ. Issue Description
```
2024-09-18 08:59:04 [org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker][main][437] WARN - Bean 'io.seata.spring.boot.autoconfigure.SeataCoreAutoConfiguration' of type [io.seata.spring.boot.autoconfigure.SeataCoreAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor []? Check the corresponding BeanPostProcessor declaration and its dependencies.
2024-09-18 08:59:04 [org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker][main][437] WARN - Bean 'springApplicationContextProvider' of type [io.seata.spring.boot.autoconfigure.provider.SpringApplicationContextProvider] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor []? Check the corresponding BeanPostProcessor declaration and its dependencies.
2024-09-18 08:59:04 [org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker][main][437] WARN - Bean 'io.seata.spring.boot.autoconfigure.SeataAutoConfiguration' of type [io.seata.spring.boot.autoconfigure.SeataAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor []? Check the corresponding BeanPostProcessor declaration and its dependencies.
2024-09-18 08:59:04 [org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker][main][437] WARN - Bean 'failureHandler' of type [io.seata.tm.api.DefaultFailureHandlerImpl] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor []? Check the corresponding BeanPostProcessor declaration and its dependencies.
2024-09-18 08:59:04 [org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker][main][437] WARN - Bean 'org.springframework.cloud.commons.config.CommonsConfigAutoConfiguration' of type [org.springframework.cloud.commons.config.CommonsConfigAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor [globalTransactionScanner]? Check the corresponding BeanPostProcessor declaration and its dependencies.
2024-09-18 08:59:04 [org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker][main][437] WARN - Bean 'org.springframework.cloud.client.loadbalancer.LoadBalancerDefaultMappingsProviderAutoConfiguration' of type [org.springframework.cloud.client.loadbalancer.LoadBalancerDefaultMappingsProviderAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor [globalTransactionScanner]? Check the corresponding BeanPostProcessor declaration and its dependencies.
2024-09-18 08:59:04 [org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker][main][437] WARN - Bean 'loadBalancerClientsDefaultsMappingsProvider' of type [org.springframework.cloud.client.loadbalancer.LoadBalancerDefaultMappingsProviderAutoConfiguration$$Lambda$720/0x000000d80152c7c8] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor [globalTransactionScanner]? Check the corresponding BeanPostProcessor declaration and its dependencies.
2024-09-18 08:59:04 [org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker][main][437] WARN - Bean 'defaultsBindHandlerAdvisor' of type [org.springframework.cloud.commons.config.DefaultsBindHandlerAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor [globalTransactionScanner]? Check the corresponding BeanPostProcessor declaration and its dependencies.
2024-09-18 08:59:04 [org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker][main][437] WARN - Bean 'springCloudAlibabaConfiguration' of type [io.seata.spring.boot.autoconfigure.properties.SpringCloudAlibabaConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor [globalTransactionScanner]? Check the corresponding BeanPostProcessor declaration and its dependencies.
2024-09-18 08:59:04 [org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker][main][437] WARN - Bean 'seataProperties' of type [io.seata.spring.boot.autoconfigure.properties.SeataProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor [globalTransactionScanner]? Check the corresponding BeanPostProcessor declaration and its dependencies.
2024-09-18 08:59:04 [io.seata.common.loader.EnhancedServiceLoader$InnerEnhancedServiceLoader][main][558] WARN - Load [io.seata.spring.annotation.ScannerChecker] class fail: no service files found in 'META-INF/seata/'.
2024-09-18 08:59:04 [io.seata.common.loader.EnhancedServiceLoader$InnerEnhancedServiceLoader][main][558] WARN - Load [io.seata.config.file.FileConfig] class fail: no service files found in 'META-INF/seata/'.
2024-09-18 08:59:04 [io.seata.common.loader.EnhancedServiceLoader$InnerEnhancedServiceLoader][main][558] WARN - Load [io.seata.config.ExtConfigurationProvider] class fail: no service files found in 'META-INF/seata/'.
2024-09-18 08:59:04 [io.seata.common.loader.EnhancedServiceLoader$InnerEnhancedServiceLoader][main][558] WARN - Load [io.seata.config.ConfigurationProvider] class fail: no service files found in 'META-INF/seata/'.
2024-09-18 08:59:04 [io.seata.common.loader.EnhancedServiceLoader$InnerEnhancedServiceLoader][main][558] WARN - Load [io.seata.config.processor.Processor] class fail: no service files found in 'META-INF/seata/'.
2024-09-18 08:59:04 [io.seata.common.loader.EnhancedServiceLoader$InnerEnhancedServiceLoader][main][558] WARN - Load [io.seata.integration.tx.api.remoting.RemotingParser] class fail: no service files found in 'META-INF/seata/'.
2024-09-18 08:59:04 [io.seata.common.loader.EnhancedServiceLoader$InnerEnhancedServiceLoader][main][558] WARN - Load [io.seata.core.rpc.hook.RpcHook] class fail: no service files found in 'META-INF/seata/'.
2024-09-18 08:59:04 [io.seata.common.loader.EnhancedServiceLoader$InnerEnhancedServiceLoader][main][558] WARN - Load [io.seata.core.auth.AuthSigner] class fail: no service files found in 'META-INF/seata/'.
2024-09-18 08:59:04 [io.seata.common.loader.EnhancedServiceLoader$InnerEnhancedServiceLoader][main][558] WARN - Load [io.seata.discovery.registry.RegistryProvider] class fail: no service files found in 'META-INF/seata/'.
2024-09-18 08:59:04 [io.seata.common.loader.EnhancedServiceLoader$InnerEnhancedServiceLoader][NettyClientSelector_TMROLE_1_1][544] WARN - Load [io.seata.serializer.hessian.HessianSerializer] class fail: com/caucho/hessian/io/AbstractHessianOutput
2024-09-18 08:59:04 [io.seata.common.loader.EnhancedServiceLoader$InnerEnhancedServiceLoader][NettyClientSelector_TMROLE_1_1][558] WARN - Load [io.seata.core.serializer.Serializer] class fail: no service files found in 'META-INF/seata/'.
2024-09-18 08:59:04 [io.seata.common.loader.EnhancedServiceLoader$InnerEnhancedServiceLoader][main][558] WARN - Load [io.seata.core.model.ResourceManager] class fail: no service files found in 'META-INF/seata/'.
2024-09-18 08:59:04 [io.seata.common.loader.EnhancedServiceLoader$InnerEnhancedServiceLoader][main][558] WARN - Load [io.seata.rm.AbstractRMHandler] class fail: no service files found in 'META-INF/seata/'.
2024-09-18 08:59:04 [io.seata.common.loader.EnhancedServiceLoader$InnerEnhancedServiceLoader][main][558] WARN - Load [io.seata.core.context.ContextCore] class fail: no service files found in 'META-INF/seata/'.
2024-09-18 08:59:04 [io.seata.common.loader.EnhancedServiceLoader$InnerEnhancedServiceLoader][main][558] WARN - Load [io.seata.integration.tx.api.interceptor.parser.InterfaceParser] class fail: no service files found in 'META-INF/seata/'.
2024-09-18 08:59:04 [io.seata.common.loader.EnhancedServiceLoader$InnerEnhancedServiceLoader][main][558] WARN - Load [io.seata.integration.tx.api.interceptor.parser.TargetClassParser] class fail: no service files found in 'META-INF/seata/'.
2024-09-18 08:59:05 [org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker][main][429] WARN - Bean 'org.springframework.cloud.client.loadbalancer.LoadBalancerAutoConfiguration$DeferringLoadBalancerInterceptorConfig' of type [org.springframework.cloud.client.loadbalancer.LoadBalancerAutoConfiguration$DeferringLoadBalancerInterceptorConfig] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). The currently created BeanPostProcessor [lbRestClientPostProcessor] is declared through a non-static factory method on that class; consider declaring it as static instead.
2024-09-18 08:59:05 [org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker][main][437] WARN - Bean 'deferringLoadBalancerInterceptor' of type [org.springframework.cloud.client.loadbalancer.DeferringLoadBalancerInterceptor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor [lbRestClientPostProcessor]? Check the corresponding BeanPostProcessor declaration and its dependencies.
2024-09-18 08:59:05 [io.seata.common.loader.EnhancedServiceLoader$InnerEnhancedServiceLoader][main][558] WARN - Load [io.seata.sqlparser.util.DbTypeParser] class fail: no service files found in 'META-INF/seata/'.
```
### Ⅵ. Environment:
jdk 17
springboot 3.2.3
springcloud 2023.0.3
alibabacloud 2023.0.1.2
seata-server 2.1
Contributor guide
Research direction
The report names no source file, test, or entry point; begin by reproducing the warnings in the stated JDK 17 and Spring Boot 3.2.3 environment and tracing the Seata startup path. Done should establish whether the warnings change behavior and provide a focused failure or expected outcome for a fix.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, spring-boot
- Domain
- backend, distributed-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100