NiFi使用Clickhouse驱动程序NoClassDefFoundError [英] NiFi using Clickhouse Driver NoClassDefFoundError

查看:182
本文介绍了NiFi使用Clickhouse驱动程序NoClassDefFoundError的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在NiFi中,我使用Clickhouse驱动程序.当我通过驱动程序启用" DBCPConnectionPool时,出现java.lang.NoClassDefFoundError:com/google/common/collect/MapMaker.

In NiFi i use Clickhouse Driver. When i "enable" DBCPConnectionPool with driver, i get java.lang.NoClassDefFoundError: com/google/common/collect/MapMaker.

设置屏幕

推荐答案

Clickhouse驱动程序不是独立的JAR,它是

The Clickhouse Driver is not a standalone JAR, it has dependencies such as Guava. You'd have to download all the dependencies along with the driver JAR, put them all in a folder, and point to the folder in the Database Driver Location(s) property.

这篇关于NiFi使用Clickhouse驱动程序NoClassDefFoundError的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆