Browse Source

【后端代码】【修改"application.yml"读取“mapper”文件路径读取不到问题】

master
王晨阳 4 months ago
parent
commit
c6423ae2be
  1. 2
      src/main/resources/application.yml

2
src/main/resources/application.yml

@ -6,6 +6,6 @@ spring:
driver-class-name: com.mysql.cj.jdbc.Driver driver-class-name: com.mysql.cj.jdbc.Driver
mybatis-plus: mybatis-plus:
mapper-locations: classpath*:/mapper/**.xml mapper-locations: classpath*:/mapper/**/*.xml
configuration: configuration:
log-impl: org.apache.ibatis.logging.slf4j.Slf4jImpl log-impl: org.apache.ibatis.logging.slf4j.Slf4jImpl
Loading…
Cancel
Save