mybatis 无法读取到resources下面的xml文件

mybatis:
  mapper-locations: classpath:mapper/**/*.xml
  type-aliases-package: com.ex.srv

千万别写成mybatis-plus: 

resource目录下

/mapper/user/user.xml
/mapper/user/item.xml
/mapper/sys/param.xml

猜你喜欢

转载自my.oschina.net/u/1538135/blog/1613706
今日推荐