问答详情
源自:-

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

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

提问者:天使踩麻木 2018-06-22 14:41

个回答

  • 天使踩麻木
    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!