问答详情
源自:4-8 DAO层单元测试编码和问题排查(上)

数据库访问异常,获取不到连接。

Caused by: org.apache.ibatis.exceptions.PersistenceException: 

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

###


提问者:张dongling 2017-05-04 17:06

个回答

  • 张dongling
    2017-05-04 19:44:12

    已解决,maven中mysql依赖有问题。