Do you have a hard requirement on the implementations in nifi-record-serialization-services? Otherwise, the existing examples have the processor POM pointing at the following:
<dependency> <groupId>org.apache.nifi</groupId> <artifactId>nifi-record-serialization-service-api</artifactId> </dependency> which is the API JAR I think. If you need the implementations behind it, you will probably need to declare that as a parent (not a dependency) and perhaps still use the API JAR (though I'm guessing about the latter). Regards, Matt On Sun, Oct 15, 2017 at 10:27 PM, Peter Wicks (pwicks) <pwi...@micron.com> wrote: > For NIFI-4465 I want the nifi-poi-bundle to include a Maven dependency on > nifi-record-serialization-services. So I start by adding the dependency to > the pom.xml. > > <dependency> > <groupId>org.apache.nifi</groupId> > <artifactId>nifi-record-serialization-services</artifactId> > </dependency> > > I've tried several variations on this, with version numbers, putting it at > higher pom levels, including it in the nifi-nar-bundles pom and marking it as > included, etc... > > Throughout all this compiling is no problem, and all my unit tests run > correctly. But when I try to start NiFi I immediately get Class not found > exceptions from the nifi-poi classes related to the nifi-record-serialization > libraries. > > I feel like I've run into this in the past, and it was due to how NAR's work. > Can't remember though. > > Help would be appreciated! > > Thanks, > Peter