无效操作:关系 "fs_fsentry" 已经存在;

Invalid operation: relation "fs_fsentry" already exists;

我有一个 icCube 设置,icCubeRepository.xml,使用 Postgres 作为 JCR 存储库。启动 icCube 时出现以下错误

java.sql.SQLException: Amazon Invalid operation: relation "fs_fsentry" already exists;

看起来 JCR 中使用的驱动程序是 redshift 而不是预期的 Postgres。

发生这种情况是因为 postgres 驱动程序未添加到 bin/iccube.sh 文件中的类路径中。将 postgres jdbc 驱动程序添加到 iccube 的 lib 文件夹中已经可用的类路径中。