首页 > 编程语言 > 详细

Failed to import bean definitions from URL location [classpath:ba06/spring-*.xml]

时间:2020-09-10 19:44:59      阅读:252      评论:0      收藏:0      [点我收藏+]

org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Failed to import bean definitions from URL location [classpath:ba06/spring-*.xml]
Offending resource: class path resource [ba06/spring-total.xml]; nested exception is org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Failed to import bean definitions from URL location [classpath:ba06/spring-*.xml]
Offending resource: file [E:\ideaworkspace\springcour\ch02-di-xml\target\classes\ba06\spring-total.xml]; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Detected cyclic loading of file [E:\ideaworkspace\springcour\ch02-di-xml\target\classes\ba06\spring-total.xml] - check your import definitions!

技术分享图片

此报错是由于关系配置文件,与spring配置文件通配符相同,

将关系文件更名后,问题解决

Failed to import bean definitions from URL location [classpath:ba06/spring-*.xml]

原文:https://www.cnblogs.com/qinnow/p/13647358.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!