mybatis-plus 控制台打印sql,配置文件xml需注释掉,否则会冲突

#mybatis-plus.config-location=classpath:mybatis/mybaytis-config.xml
mybatis-plus.mapper-locations=classpath:mybatis/mapper/*.xml
###显示SQL语句部分
mybatis-plus.configuration.log-impl=org.apache.ibatis.logging.stdout.StdOutImpl
原文地址:https://www.cnblogs.com/shihx/p/13084299.html