Property ‘mapperLocations‘ was not specified.

Property ‘mapperLocations’ was not specified.

在yml配置
mybatis-plus的配置项中,mapper-locations的路径需要以classpath*: 开头。

mybatis-plus:
  mapper-locations: classpath*:mapper/*Mapper.xml

mybatis的配置项中,mapper-locations的路径需要以classpath: 开头。

mybatis:
  mapper-locations: classpath:mapper/*Mapper.xml

就是一个 ---- * ----的区别

上一篇:面向对象进阶-property装饰器的用法 (PY高级编程系列)


下一篇:table合并单元格函数