appfuse jdbc

[INFO] Configuration Properties file loaded: C:\Documents and Settings\Administrator\cms2\core\target\test-classes\jdbc.properties
ERROR - SchemaExport.execute(274) | schema export unsuccessful
java.sql.SQLException: Access denied for user 'root'@'localhost' (using password: YES)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1073)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3593)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3525)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:931)

一般是密码错误。在根目录下的pom.xml 最下面改掉mysql的密码,默认是没有密码的

你可能感兴趣的:(java,sql,mysql,jdbc,Appfuse)