About MyBatis Log can’t print SQL logs

Installing the MyBatis Log plugin in IDEA has not been able to print logs

Change the configuration file log-impl: to org.apache.ibatis.logging.stdout.StdOutImpl to
solve the problem

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

Guess you like

Origin blog.csdn.net/qq_38095257/article/details/103799342