加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

XML fragments parsed from previous mappers already

发布时间:2020-12-16 23:33:30 所属栏目:百科 来源:网络整理
导读:ssm项目报错: WARN [main] DefaultListableBeanFactory:1479-- Bean creation exception on FactoryBean type check: org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘eat10Ivs03CreditAntifraudVerifyResultMa
  • ssm项目报错:
  • WARN [main] DefaultListableBeanFactory:1479-- Bean creation exception on FactoryBean type check: org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘eat10Ivs03CreditAntifraudVerifyResultMapper‘ defined in file [Eat10Ivs03CreditAntifraudVerifyResultMapper.class]: Cannot resolve reference to bean ‘sqlSessionFactory‘ while setting bean property ‘sqlSessionFactory‘; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘sqlSessionFactory‘ defined in file [D:projectsidea_ngitdatasource-dsthirdparttargetclassesspringspring-dao.xml]: Invocation of init method failed; nested exception is org.springframework.core.NestedIOException: Failed to parse mapping resource: ‘file [Eax01JxlIouMapper.xml]‘; nested exception is java.lang.RuntimeException: Error parsing Mapper XML. Cause: java.lang.IllegalArgumentException: XML fragments parsed from previous mappers already contains value for ***.Eax01JxlIouMapper.Column_List

    XML fragments parsed from previous mappers already contains value for ***.Eax01JxlIouMapper.Column_List

    主要原因就在于 namespace, 检查mybatis的配置文件: Eax01JxlIouMapper.xml中跟别的xml中有相同的namespace, 导致此问题。

    (编辑:李大同)

    【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

      推荐文章
        热点阅读