org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'customerServiceServiceImpl' defined in file [C:\Users\...\CustomerServiceServiceImpl.class]: Unsatisfied dependency expressed through constructor parameter 1; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'questionCategoryServiceImpl': Bean with name 'questionCategoryServiceImpl' has been injected into other beans [questionInfoServiceImpl] in its raw version as part of a circular reference, but has eventually been wrapped. This means that said other beans do not use the final version of the bean. This is often the result of over-eager type matching - consider using 'getBeanNamesOfType' with the 'allowEagerInit' flag turned off, for example.
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(Constructor
解决spring循环依赖的问题:has been injected into other beans
最新推荐文章于 2024-07-27 21:25:30 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)