idea中spring-mybatis.xml文件Cannot resolve file 'userMapper.xml' annot resolve file 'userMapper.xml' 问题
原因:<property name="mapperLocations" value="classpath:com/ssm/mapper/userMapper.xml"/>中value配置路径出错。首先,userMapper.xml文件确实在resources文件夹下的com.ssm.mapper中:所以,在idea中,value应该配为:value="classpath:com.ssm...
原创
2018-05-27 11:12:53 ·
9046 阅读 ·
0 评论