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



上一篇:Mac 上 brew 安装Tomcat
下一篇:使用jar ftv命令查看搜索jar包中的文件和类

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