NiFi 使用 Clickhouse 驱动 NoClassDefFoundError
NiFi using Clickhouse Driver NoClassDefFoundError
在 NiFi 中,我使用 Clickhouse 驱动程序。当我 "enable" 带有驱动程序的 DBCPConnectionPool 时,我得到 java.lang.NoClassDefFoundError: com/google/common/collect/MapMaker.
screen of settings
Clickhouse Driver 不是一个独立的 JAR,它 has dependencies 比如 Guava。您必须下载所有依赖项以及驱动程序 JAR,将它们全部放在一个文件夹中,然后指向数据库驱动程序位置 属性.
中的文件夹
在 NiFi 中,我使用 Clickhouse 驱动程序。当我 "enable" 带有驱动程序的 DBCPConnectionPool 时,我得到 java.lang.NoClassDefFoundError: com/google/common/collect/MapMaker.
screen of settings
Clickhouse Driver 不是一个独立的 JAR,它 has dependencies 比如 Guava。您必须下载所有依赖项以及驱动程序 JAR,将它们全部放在一个文件夹中,然后指向数据库驱动程序位置 属性.
中的文件夹