examination_system-
examination_system- copied to clipboard
Could not get JDBC Connection
Could not get JDBC Connection; nested exception is java.sql.SQLException: Connections could not be acquired from the underlying database!
The error may exist in com/system/mapper/UserloginMapper.xml
The error may involve com.system.mapper.UserloginMapper.selectByExample
The error occurred while executing a query
可以帮忙解释下这是为啥吗?
报错是数据库的问题,检查项目里面写了数据库账户密码的配置文件,是不是跟你的数据库账号密码一样?
谢谢,已经解决了。是jdbc-connector jar包的版本与我的mysql不一致,我更新了一下jar就可以连接了。谢谢啦!