【发布时间】:2018-01-17 00:45:58
【问题描述】:
在 NiFi 中,我使用 Clickhouse 驱动程序。当我使用驱动程序“启用” DBCPConnectionPool 时,我得到 java.lang.NoClassDefFoundError: com/google/common/collect/MapMaker。
【问题讨论】:
在 NiFi 中,我使用 Clickhouse 驱动程序。当我使用驱动程序“启用” DBCPConnectionPool 时,我得到 java.lang.NoClassDefFoundError: com/google/common/collect/MapMaker。
【问题讨论】:
Clickhouse 驱动程序不是独立的 JAR,它是 has dependencies,例如 Guava。您必须连同驱动程序 JAR 一起下载所有依赖项,将它们全部放在一个文件夹中,然后在 Database Driver Location(s) 属性中指向该文件夹。
【讨论】: