简体   繁体   English

找不到icCube驱动程序:org.postgresql.Driver

[英]icCube driver not found: org.postgresql.Driver

I'm trying to evaluate icCube and I have a problem when I try to connect a PostgreSQL datasource. 我正在尝试评估icCube,当我尝试连接PostgreSQL数据源时遇到问题。 When I test the connection I get an error message about PostgreSQL driver missing: 当我测试连接时,我收到有关PostgreSQL驱动程序丢失的错误消息:

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

I've checked the lib directory of icCube and it has postgresql-9.4.1207.jre7.jar bundled in the release, is there anything I'm missing? 我已经检查了icCube的lib目录,它在发行版中捆绑了postgresql-9.4.1207.jre7.jar,有什么我想念的吗?

要解决这个问题,我必须在JDBC部分中将PostgreSQL JDBC驱动程序添加到bin / icCube.sh:

CLASSPATH="$CLASSPATH:$ICCUBE/lib/postgresql-9.4.1207.jre7.jar"

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM