Centos 7 上部署JavaWeb项目出现数据库连接问题
坑货行不行 2018-03-20 10:24:05 出现问题异常代码:
org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.apache.ibatis.exceptions.PersistenceException:
### Error querying database. Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Access denied for user 'root'@'localhost' (using password: YES))
账号和密码我都检查过,没问题
本地项目能跑,部署到云服务器上(系统是Centos 7)就报以上异常
求解决,不胜感激!