该用户从未签到
|
本帖最后由 安德烈 于 2017-5-3 12:07 编辑
! u0 J% d( p8 g4 ]2 T0 l
! u# \$ K; w" m0 i" @HTTP Status 500 - type Exception report
3 \$ W- `* C1 X! |( C! fmessage
! y. c4 W, `0 t/ ~description The server encountered an internal error () that prevented it from fulfilling this request.# x5 g8 Z4 \$ z' U6 |0 {2 a
exception 0 q* D' o3 O+ \" t# ?4 P
javax.servlet.ServletException: org.hibernate.exception.GenericJDBCException: Cannot open connection cn.lee.market.filter.HibernateFilter.doFilter(HibernateFilter.java:50)4 ?# h7 Q8 c! y: C% T, p. ]. p
root cause
+ ^. l8 i" {1 Q8 ?* [3 L: J/ horg.hibernate.exception.GenericJDBCException: Cannot open connection org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:103) org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:91) org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43) org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:29) org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:420) org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:144) org.hibernate.jdbc.JDBCContext.connection(JDBCContext.java:118) org.hibernate.transaction.JDBCTransaction.begin(JDBCTransaction.java:57) org.hibernate.impl.SessionImpl.beginTransaction(SessionImpl.java:1319) cn.lee.market.filter.HibernateFilter.doFilter(HibernateFilter.java:33)
: J2 `0 Q W+ B6 {root cause * |4 L& p B# }
java.sql.SQLException: Access denied for user 'root'@'localhost' (using password: YES) com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1055) com.mysql.jdbc.SQLError.createSQLException(SQLError.java:956) com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3491) com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3423) com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:910) com.mysql.jdbc.MysqlIO.secureAuth411(MysqlIO.java:3923) com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1273) com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2031) com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:718) com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:46) sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) java.lang.reflect.Constructor.newInstance(Constructor.java:513) com.mysql.jdbc.Util.handleNewInstance(Util.java:406) com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:302) com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:282) java.sql.DriverManager.getConnection(DriverManager.java:582) java.sql.DriverManager.getConnection(DriverManager.java:154) org.hibernate.connection.DriverManagerConnectionProvider.getConnection(DriverManagerConnectionProvider.java:110) org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:417) org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:144) org.hibernate.jdbc.JDBCContext.connection(JDBCContext.java:118) org.hibernate.transaction.JDBCTransaction.begin(JDBCTransaction.java:57) org.hibernate.impl.SessionImpl.beginTransaction(SessionImpl.java:1319) cn.lee.market.filter.HibernateFilter.doFilter(HibernateFilter.java:33)! y5 O2 \9 x, i B1 T3 `, }* ?: C
note The full stack trace of the root cause is available in the Apache Tomcat/6.0.13 logs.
+ Z9 C5 S$ P9 Q' O) i( b Apache Tomcat/6.0.13
. D* o R5 J" o: l# I2 ]0 E$ R$ @4 L |
|