Skip to content

mybatis plus 子模块导致加载问题 #14

@zoeminghong

Description

@zoeminghong

描述:

xml 文件未被加载。

方案:

mybatis-plus:
  mapper-locations: ["classpath*:/mapper/*.xml"]
  • * 当存在多个子模块的时候,要使用 classpath* 方式
  • 听网上说要加双引号才能生效

参考文档:

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions