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

Caused by: java.lang.ClassNotFoundException: com.alibaba.spring.beans.factory.annotation.AnnotationInjectedBeanPostProcessor #2869

Closed
zfvipgit opened this issue Dec 3, 2018 · 7 comments
Assignees

Comments

@zfvipgit
Copy link

zfvipgit commented Dec 3, 2018

版本:2.6.5
采用注解的方式进行配置,提示找不到com.alibaba.spring.beans.factory.annotation.AnnotationInjectedBeanPostProcessor
这个类,

原因:
ReferenceAnnotationBeanPostProcessor这个类继承了AnnotationInjectedBeanPostProcessor
但是AnnotationInjectedBeanPostProcessor这个类根本不存在

@vio-lin
Copy link
Contributor

vio-lin commented Dec 3, 2018

add this dependency

    <dependency>
        <groupId>com.alibaba.spring</groupId>
        <artifactId>spring-context-support</artifactId>
        <version>1.0.2</version>
    </dependency>

@mercyblitz
Copy link
Contributor

@vio-lin, Thank you, yes, the developer should add this Maven dependency com.alibaba.spring:spring-context-support:1.0.2

@mercyblitz mercyblitz self-assigned this Dec 13, 2018
@ted005
Copy link

ted005 commented Dec 17, 2018

helps a lot.

@dslchd
Copy link

dslchd commented Jan 15, 2019

Thank you very much, I have encountered the same problem when I upgraded to version 2.6.5 today, but the dubbo version upgrade has to be introduced since the other, which is very strange.

@Gaara13562
Copy link

express my heartfelt gratitude...

@kebukeYi
Copy link

kebukeYi commented Mar 3, 2019

oh.thanks to you very much

@wangjian1106
Copy link

Springboot 3.0 does not have class org.springframework.beans.factory.config.InstantiationAwareBeanPostProcessorAdapter.

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

No branches or pull requests

8 participants