springLearn

  1. 官网 : http://spring.io/

    官方下载地址 : https://repo.spring.io/libs-release-local/org/springframework/spring/

    GitHub : https://github.com/spring-projects

 

  • Spring是一个开源的免费的框架(容器)

  • spring是一个轻量级的 非侵入式的框架

  • 控制反转(IOC).面向切面编程(AOP)

  • 支持事务的处理,对框架整合的支持

 

 

Caused by: org.springframework.core.

NestedIOException: Failed to parse mapping resource: 'file [D:\Program Files\JetBrains\IdeaProject\spring-study\spring-10-spring-mybatis\target\classes\com\huang\mapper\UserMapper.xml]';

nested exception is org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. The XML location is 'file [D:\Program Files\JetBrains\IdeaProject\spring-study\spring-10-spring-mybatis\target\classes\com\huang\mapper\UserMapper.xml]'. Cause: java.lang.IllegalArgumentException: Mapped Statements collection already contains value for com.huang.mapper.UserMapper.selectUser.

please check com/huang/mapper/UserMapper.xml and file [D:\Program Files\JetBrains\IdeaProject\spring-study\spring-10-spring-mybatis\target\classes\com\huang\mapper\UserMapper.xml]

上一篇:mybatis07


下一篇:Mybatis-增删改查之事务的提交