.m.m.a.ExceptionHandlerExceptionResolver : Resolved [org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.miaoshaproject.dao.ItemDOMapper.insertSelective]
创建失败,原因为未知错误
检查了xml,Mapper文件,但是还是没发现哪里有问题,求大神!
自己回答自己:一开始设置mybatis的时候写的
mybatis.mapper-locations=classpath:mapping/UserDOMapper.xml,classpath:mapping/UserPasswordDOMapper.xml
改成了
mybatis.mapper-locations=classpath*:mapping/*.xml