Error Messages:
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
Reason:
Did not import the aspectjweaver.jar package. I had imported the aspectj-1.9.5.jar package and still reported an error, after importing the aspectjweaver.jar it can execute the program normally.
Read More:
- AOP Error Cannot resolve reference to bean ‘txPointCut‘ while setting bean property ‘po
- [Solved] Instantiation of ‘sdram_model_plus‘ failed. The design unit was not found.
- How to Solve AOP error in Spring
- [Solved] Error getting bean using springboot: no qualifying bean of type ‘xxx’ available
- Eureka unit test error creating bean with name ‘Eureka autoservice registration’: Singleton bean
- [Solved] Swagger Startup Error: Failed to start bean ‘documentationPluginsBootstrapper‘
- [Solved] SpringBoot Integrates Swagge Error: Failed to start bean ‘documentationPluginsBootstrapper‘
- [Solved] org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘dataSource‘
- [Solved] nacos Startup Error: Error creating bean with name ‘authFilterRegistration‘ defined in class path resource
- Error creating bean with name ‘studentMapper‘ defined in file
- [Solved] hytrix service degraded bean cannot inject error
- [Solved] JWT + SSO Error: Error creating bean with name ‘jwtTokenServices’
- Error creating bean with name ‘captchaController‘: Unsatisfied dependency expressed through field ‘c
- SpringBoot High Version Import Swagger 2.9.2 Error: ApplicationContextException: Failed to start bean ‘documentationPluginsBootstrapper‘
- [Solved] renren-fast Startup Error: Error creating bean with name ‘scheduleJobController‘
- [Solved] Notwritablepropertyexception: invalid property ‘mapperhelper’ of bean class
- Spring cloud Eureka error creating bean with name
- [Solved] Springboot Error creating bean with name ‘dataSource’ defined in class path resource
- [Solved] Redis Error: Error creating bean with name stringRedisTemplate defined in class path resource
- [Solved] Error creating bean with name rController‘: Unsatisfied dependency expressed through field