apache / apache/incubator-seata-samples
BeanCreationException: Error creating bean with name 'seataBeanPostProcessor'
- Dominant language
- Java
- Stars
- 2.4k
- Forks
- 2k
- PR merge metrics
- No merged PRs in 30d
Description
Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'seataBeanPostProcessor' defined in class path resource [com/alibaba/cloud/seata/feign/SeataFeignClientAutoConfiguration$FeignBeanPostProcessorConfiguration.class]: Initialization of bean failed; nested exception is org.springframework.aop.framework.AopConfigException: Could not generate CGLIB subclass of class com.alibaba.cloud.seata.feign.SeataBeanPostProcessor: Common causes of this problem include using a final class or a non-visible class; nested exception is java.lang.IllegalArgumentException: Cannot subclass final class com.alibaba.cloud.seata.feign.SeataBeanPostProcessor
加上 seata 的依赖之后,启动报这个错误
Contributor guide
Research direction
Start by reproducing the context-initialization failure after adding the Seata dependency. Inspect SeataFeignClientAutoConfiguration$FeignBeanPostProcessorConfiguration and SeataBeanPostProcessor, then determine why the bean cannot be subclassed. Done means identifying a verified resolution for the reported startup error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, spring
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100