mapperLocations
mybatis-plus的配置文件中mapper-locations失效的导致Property 'mapperLocations' was not specified的问题解决
不能解决的话,参考:springboot项目使用mybatis-plus 时出现 Property ‘mapperLocations‘ was not specified的3个解决方案_property 'mapperlocations' was not specified.-CSDN博客 但我按照 ......
mybatis: 正确使用mybatis中的mapperLocations配置多个xml扫描路径
<!-- myBatis文件 --> <bean id="sqlSessionFactory" class="org.mybatis.spring.SqlSessionFactoryBean"> <property name="dataSource" ref="dataSource" /> <!-- ......