关于 Caused by: java.lang.IllegalArgumentException: Mapped Statements collection already contains value for dao.BookMapper.addBook报错
这里是一个mappeer被注册了多次
即在Spring-dao.xml中配置SqlSessionFactory中配置了mapperLocations且value指定了扫描包
这里已经对mapper.xml完成注册
<!--SqlSessionFactory-->
<bean id="SqlSessionFactory" class="org.mybatis.spring