SSM配置JDBC錯(cuò)誤: cquisition Attempt Failed!!!
異常:
警告: com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@20ffa401
-- Acquisition Attempt Failed!!! Clearing pending acquires.
While trying to acquire a needed new resource,
we failed to succeed more than the maximum number of allowed acquisition attempts (3)
. Last acquisition attempt exception:
java.sql.SQLException: Access denied for user 'xiaom'@'IP' (using password: YES)
### 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!
發(fā)現(xiàn)問(wèn)題
jdbc.properties文件之前的配置:

修改后:


先記下來(lái), 后面有空具體看看原因

浙公網(wǎng)安備 33010602011771號(hào)