mybatis默认使用log4j,当有self4j这个日志jar包存在时会无法打印sql,请移除或者在工程启动时显示设置mybatis使用的日志类 
log4j.logger.org.apache.ibatis=debug,stdout 

log4j.logger.java.sql=debug,stdout 

 

 

 

from:http://13146489.iteye.com/blog/1037512 
 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-08-10
  • 2022-12-23
  • 2022-12-23
  • 2021-11-04
  • 2021-12-12
相关资源
相似解决方案