今天在执行junit代码的时候,发现junit一直在执行(时间太长就会自动结束,产生提示信息为Could not open JDBC Connection ),也不报错,也不结束,一直提示:
Logging initialized using 'class org.apache.ibatis.logging.stdout.StdOutImpl' adapter.
发现原因:
jdbc连接错误导致的原因,哪怕是junit中当前测试并没有对数据库的操作,也会产生该错误
今天在执行junit代码的时候,发现junit一直在执行(时间太长就会自动结束,产生提示信息为Could not open JDBC Connection ),也不报错,也不结束,一直提示:
Logging initialized using 'class org.apache.ibatis.logging.stdout.StdOutImpl' adapter.
发现原因:
jdbc连接错误导致的原因,哪怕是junit中当前测试并没有对数据库的操作,也会产生该错误