在 application.yml 文件中新增配置:
mybatis: mapper-locations: classpath:mapper/**.xml configuration: log-impl: org.apache.ibatis.logging.stdout.StdOutImpl logging: level: debug
新增这2个就可以了