Hi Pushkar, The preferred approach is to add the external dependency to the pom file for your processor. After doing that when you build your nar bundle, the resulting nar file will contain all of the 3rd party dependencies required by your processor. Can you double check that you are indeed including it as a maven dependency?
Thanks, Andrew On Tue, Feb 28, 2017 at 12:31 PM, Pushkara R <[email protected]> wrote: > Hi, > > I'm writing a new processor for NiFi which has a dependency on an external > library. When I build the NAR and add it to the lib folder and restart > NiFi, the external library classes that my processor depends on fail > getting loaded with a "ClassNotFound" exception. > > How do I go about fixing this issue? Do I add the jar for the external > library separately in the lib folder of NiFi? Or is there something else to > it? > > Thanks > Pushkar > -- Thanks, Andrew Subscribe to my book: Streaming Data <http://manning.com/psaltis> <https://www.linkedin.com/pub/andrew-psaltis/1/17b/306> twiiter: @itmdata <http://twitter.com/intent/user?screen_name=itmdata>
