One - One Code All

Blog Content

关于MyBatis Log 不能打印sql日志 的问题

Java   2019-03-04 21:22:46

在IDEA中安装MyBatis Log插件一直不能打印日志


将配置文件 log-impl: 改为 org.apache.ibatis.logging.stdout.StdOutImpl

问题解决。

mybatis:
  mapper-locations: classpath*:com/**/mapper/**/*.xml
  configuration:
    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl



上一篇:numpy通用功能(ufunc)
下一篇:postgresql导入导出

The minute you think of giving up, think of the reason why you held on so long.