level 1
mycode00000
楼主
本人新人菜鸟,照猫画虎写了个程序,向数据库插入一条数据的。最后出现下面的错误
Struts Problem Report
Struts has detected an unhandled exception:
Messages:
1. Access denied for user *root*@*localhost* (using password: YES)
2.Cannot create PoolableConnectionFactory (Access denied for user *root*@*localhost* (using password: YES))
3.Could not open JDBC Connection for transaction; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Access denied for user *root*@*localhost* (using password: YES))
File: com/mysql/jdbc/SQLError.java
Line number: 946
2014年10月29日 23点10分
1
Struts Problem Report
Struts has detected an unhandled exception:
Messages:
1. Access denied for user *root*@*localhost* (using password: YES)
2.Cannot create PoolableConnectionFactory (Access denied for user *root*@*localhost* (using password: YES))
3.Could not open JDBC Connection for transaction; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Access denied for user *root*@*localhost* (using password: YES))
File: com/mysql/jdbc/SQLError.java
Line number: 946