在spring配置日志的时候出现如下异常,如何解决?
org.springframework.beans.factory.BeanCurrentlyInCreationException:Errorcreatingbeanw...
org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'userLogDAO': Bean with name 'userLogDAO' has been injected into other beans [userLogService] 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.
展开
3个回答
展开全部
把你的spring配置文件贴出来啊
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
Bean with name 'userLogDAO'注入的时候别重复了
本回答被提问者采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
构造器注入的吗,改成方法注入试试
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询