当我们在使用spring的构造注入时可能会遇到如下问题:
Caused by: org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with
name 'linkInstanceService': Requested bean is currently in creation: Is there an unresolvable circular reference?
原因是在构造注入时,一旦服务器开启就会加载,如果我们使用装配模式就可以解决这个问题。
解决,spring Is there an unresolvable circular reference?
最新推荐文章于 2023-07-06 12:49:00 发布