Skip to content

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

Description

@zoeminghong

描述:

xml 文件未被加载。

方案:

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

参考文档:

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions