Hello,

I'm trying out my first dataflow using NiFi. The flow involves GetSolr ->
LogAttributes. I ran into NoClassDefFoundError while trying this.

Here is an extract from nifi-app.log

18:36:26 EDTERROR7a7692b6-a9dd-4a95-a68a-932d54774144
> GetSolr[id=7a7692b6-a9dd-4a95-a68a-932d54774144]
> GetSolr[id=7a7692b6-a9dd-4a95-a68a-932d54774144] failed to process due to
> java.lang.NoClassDefFoundError: org/apache/http/message/TokenParser;
> rolling back session: java.lang.NoClassDefFoundError:
> org/apache/http/message/TokenParser
> 2015-08-30 18:34:55,908 WARN [Timer-Driven Process Thread-7]
> o.a.n.c.t.ContinuallyRunProcessorTask
> java.lang.NoClassDefFoundError: org/apache/http/message/TokenParser
>         at
> org.apache.http.client.utils.URLEncodedUtils.parse(URLEncodedUtils.java:280)
> ~[httpclient-4.4.1.jar:4.4.1]
>         at
> org.apache.http.client.utils.URLEncodedUtils.parse(URLEncodedUtils.java:237)
> ~[httpclient-4.4.1.jar:4.4.1]


Should I be manually adding certain jars to class path?

A more general question, how are jars built, distributed and loaded in
NiFi.
Asking this mainly because of the extendable design of this project.

I have to say it was super easy to get started with NiFi. Doc was well
organized.
I had my first visit to NiFi page y'day morning and I'm writing my first
dataflow today evening...hit my first exception too!!

Regards,
Srikanth

Reply via email to