在写测试类的时候运行出现的错误

来源:-

天使踩麻木

2018-06-22 14:41

org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.exceptions.PersistenceException: 

写回答 关注

1回答

  • 天使踩麻木
    2018-06-22 14:41:41

    这是错误类型

    ### Error querying database.  Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection; nested exception is java.sql.SQLException: Connections could not be acquired from the underlying database!

    ### The error may exist in file [E:\android\target\classes\mapper\UserInfo.xml]

    ### The error may involve com.lee.android.dao.UserInfoDao.queryUserInfo

    ### The error occurred while executing a query

    ### Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection; nested exception is java.sql.SQLException: Connections could not be acquired from the underlying database!


SpringBoot+MyBatis搭建迷你小程序

SpringBoot+MyBatis搭建小程序后台

91500 学习 · 621 问题

查看课程

相似问题