Some error messages are as follows:
Warning: exception encoded during context initialization – canceling refresh attempt: org.springframework.beans . factory.BeanCreationException : Error creating bean with name ‘duke’ defined in class path resource [com/springinaction/springidol/spring- idol.xml ]
The reason for this problem is that the necessary jar package is missing aspectjweaver.jar , just download it.
Please click here for the download interface of aspectjweaver
Here’s how to download it:
Select the version you need. Here, select version 1.9.1. After entering, as shown in the figure below, click the box on the way to download the responding jar package, and finally pour it into the project.
Read More:
- Spring AOP uses AspectJ to report an exception that ‘the reference to the bean “mypointcut” cannot be resolved’
- An error is reported when springboot starts: error creating bean with name ‘XXXX’
- Solution to the problem of spring boot running test class error creating bean with name ‘serverendpoint exporter’ defined
- Spring configuration error: org.springframework.beans . factory.BeanCreationException : Error creating bean with name ‘m
- Spring cloud is a big hole. Failed to start bean ‘eurekaAutoServiceRegistration’
- Error creating bean with name ‘application‘: Instantiation of bean failed;
- Error creating bean with name ‘datasource’ defined in class path resource
- When the spring MVC project is running on idea, an error is reported when the controller is a null pointer
- org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name
- About error creating bean with name ‘xxxxx’: invocation of init method
- Error creating bean with name ‘feignTargeter‘ defined in class path resource [org/springframework/cl
- Error creating bean with name ‘xxcontroller’
- Error creating bean with name ‘requestMappingHandlerAdapter‘ defined in class path resource
- Error creating bean with name ‘redissonclient’:
- org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘use
- Error creating bean with name usercontroller appears when springboot starts
- Error creating bean with name ‘sqlsessionfactory’ defined in ServletContext resource)
- Error creating bean with name ‘org.springframework.security.oauth2.config.annotation.web.configurati
- Error creating bean with name ‘sqlsessionfactory’ defined in class path resource…..
- Springboot startup exception: error creating bean with name ‘permissioncontroller’