2016-12-12 54 views
1

我想評估icCube,當我嘗試連接PostgreSQL數據源時遇到問題。當我測試連接我得到PostgreSQL驅動丟失的錯誤消息:icCube驅動程序找不到:org.postgresql.Driver

Failed to establish the connection due to the error: JDBC driver class 'org.postgresql.Driver' not found in the classpath 

我檢查icCube的lib目錄下,它有PostgreSQL相關9.4.1207.jre7.jar在發行版捆綁的,是有我失蹤的任何東西?

回答

0

爲了解決這個問題,我不得不PostgreSQL的JDBC驅動程序添加到斌/ icCube.sh在JDBC部分:

CLASSPATH="$CLASSPATH:$ICCUBE/lib/postgresql-9.4.1207.jre7.jar" 
相關問題