Springboot + springdatajpa startup exception: org.springframework.beans . factory.UnsatisfiedDependencyException : Error creating bean with name ‘permissionController’
Error reason: the interface name of springdatajpa does not match the corresponding field in the database
Modify the PID field in the database table to parent_ After the ID field, the findbytypeandpid() method name in permissiondao was forgotten to modify, resulting in Hibernate unable to automatically obtain the corresponding field in the database. Change findbytypeandpid() to findbytypeandparentid().
Read More:
- Springboot project startup exception – required a single bean, but 2 were found
- Idea SpringBoot:Error creating bean with name ‘XXXXController‘
- Error creating bean with name usercontroller appears when springboot starts
- An error is reported when springboot starts: error creating bean with name ‘XXXX’
- Springboot error creating bean with name ‘xmlmodelplug’:
- Springboot startup error – classnotfound Exception:EnhancerBySpringCGLIB
- org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘use
- Error creating bean with name ‘application‘: Instantiation of bean failed;
- org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name
- Error creating bean with name ‘datasource’ defined in class path resource
- Error creating bean with name ‘requestMappingHandlerAdapter‘ defined in class path resource
- Error creating bean with name ‘lettuceClientResources‘ defined in class path resource
- Spring AOP is an error creating bean with name
- Error creating bean with name ‘sqlsessionfactory’ defined in class path resource
- Error creating bean with name ‘feignTargeter‘ defined in class path resource [org/springframework/cl
- Error creating bean with name ‘redissonclient’:
- Error creating bean with name ‘helloController‘: Injection of autowired dependencies failed;
- Error creating bean with name ‘sqlsessionfactory’ defined in class path resource…..
- Error creating bean with name ‘org.springframework.security.oauth2.config.annotation.web.configurati
- Error creating bean with name ‘enablererediskeyspacenotificationsinitializer’