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:
- How to Solve AspectJ error: error at ::0 can’t find referenced pointcut XXX
- [Solved] nacos Startup Error: Error creating bean with name ‘authFilterRegistration‘ defined in class path resource
- Error creating bean with name ‘captchaController‘: Unsatisfied dependency expressed through field ‘c
- Error creating bean with name ‘studentMapper‘ defined in file
- [Solved] renren-fast Startup Error: Error creating bean with name ‘scheduleJobController‘
- dubbo 2.5.4-SNAPSHOT dubbo-admin [How to Solve]
- [Solved] Redis Error: Error creating bean with name stringRedisTemplate defined in class path resource
- Tk.mapper Common mapper Error: Error creating bean with name ‘commonMapper‘ defined in file xxx
- Springboot integrates redis factory method ‘redisconnectionfactory’ threw exception; nested exception is
- [Solved] Springboot Error creating bean with name ‘dataSource’ defined in class path resource
- [Solved] Error creating bean with name rController‘: Unsatisfied dependency expressed through field
- The authentication server Configurate NoClassDefFoundError Error (store client information in a JDBC-based database)
- [Solved] hytrix service degraded bean cannot inject error
- [Solved] zookeeper Error: OperationTimeoutException: KeeperErrorCode = OperationTimeout
- [Solved] Notwritablepropertyexception: invalid property ‘mapperhelper’ of bean class
- [Solved] liquibase.exception.ValidationFailedException: Validation Failed
- [Solved] Error creating bean with name ‘sqlSessionFactory‘ defined in class path resource
- [Solved] org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘dataSource‘
- Dyf Spring boot startup error: NoSuchBeanDefinitionException
- SpringCloud: gateway module startup error [How to Solve]