网络适​​配器无法建立连接org.hibernate.exception.GenericJDBCException:无法打开连接

时间:2012-02-01 06:31:16

标签: java sql hibernate exception jdbc

Hibernate程序针对某些事务运行,之后无法建立连接。例外情况如下:

WARN: SQL Error: 17002, SQLState: null
Feb 01, 2012 11:47:10 AM org.hibernate.engine.jdbc.spi.SqlExceptionHelper logExceptions
ERROR: Io exception: The Network Adapter could not establish the connection
org.hibernate.exception.GenericJDBCException: Could not open connection
Feb 01, 2012 11:52:43 AM org.apache.catalina.core.StandardContext reload
INFO: Reloading this Context has started

1 个答案:

答案 0 :(得分:0)

检查您的课程路径设置:它应包含oracle-jdbc6.jar的位置。