ivy吖

关注

132-报错:Is there an unresolvable circular reference

ivy吖

关注

阅读 124

2022-11-20

报错信息:

Requested bean is currently in creation: Is there an unresolvable circular reference?


出现原因:
分别再过滤器和拦截器,同时注入同一个service.

AFilter.java

@Autowired
Aservice aservice;

BFilter.java:

@Autowired
Aservice aservice;

解决: 分别添加 @Lazy

相关推荐

柠檬的那个酸_2333

Feign加载异常:Requested bean is currently in creation: Is there an unresolvable circular reference

柠檬的那个酸_2333 141 0 0

f12b11374cba

132-发起连接请求

f12b11374cba 163 0 0

江南北

spring mybatis circular reference

江南北 12 0 0

天悦哥

好客租房132-城市选择导航栏

天悦哥 67 0 0

非常帅气的昵称吧

怎么解决web service circular reference 问题

非常帅气的昵称吧 154 0 0

GG_lyf

【JS】132-重温基础:语法和数据类型

GG_lyf 180 0 0

西街小学的王

前端项目实战132-前端打印页面样式渲染

西街小学的王 75 0 0

老北京的热干面

js基础笔记学习132-数组方法介绍1

老北京的热干面 81 0 0

修炼之士

数据结构132-二叉树插入的操作3

修炼之士 119 0 0

鲤鱼打个滚

一刷132-动态规划-1035不相交的线(m)

鲤鱼打个滚 44 0 0

精彩评论(0)

0 0 举报