org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘sqlSessionFactory’ defined in class path resource [tk/mybatis/mapper/autoconfigure/MapperAutoConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.ibatis.session.SqlSessionFactory]: Factory method ‘sqlSessionFactory’ threw exception; nested exception is org.springframework.core.NestedIOException: Failed to parse mapping resource: ‘file [E:\imooc-red-book-dev\book-mapper\target\classes\mapper\CommentMapper.xml]’; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. The XML location is ‘file [E:\imooc-red-book-dev\book-mapper\target\classes\mapper\CommentMapper.xml]’. Cause: java.lang.IllegalArgumentException: Result Maps collection already contains value for com.sy.mapper.CommentMapper.BaseResultMap
使用新版SpringBoot技术结合Uniapp,完成仿抖音短视频项目
了解课程