BeanPostProcessor before instantiation of bean failed; nested exception is org.springframework.beans

错误提示:
org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘xxx’ defined in file [xxx]:BeanPostProcessor before instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘org.springframework.aop.support.DefaultBeanFactoryPointcutAdvisor#0’: Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: org/aspectj/weaver/reflect/ReflectionWorld$ReflectionWorldException

原因
没有导入aspectj的包


    org.aspectj
    aspectjweaver
    1.9.2

导入即可

你可能感兴趣的:(spring)