Phil, Any chance you could share your NAR and processor POMs? Your processor POM should have a dependency on nifi-utils. What are the other classes that aren't found? I'm curious if they are in the same JAR/NAR or not. Do you have a parent NAR set (in your bundle's NAR POM)? Also once your NAR is built, does it appear to have the correct contents? You can check with "jar tvf /path/to/my/nifi-bundle.nar"
Regards, Matt On Mon, Nov 6, 2017 at 11:58 AM, Phil H <[email protected]> wrote: > Hi guys, > > I have just (today) started having issues with a new processor I've written > where a seemingly random class (e.g.: StandardValidators) fails to load when > NiFi is initializing. I've created this processor like all my others (using > the maven archetype) and the VM I'm running it on has not changed versions of > any software. > > I removed any reference to StandardValidators, and the NAR then loaded > successfully. As I added some more functionality, I then had the same > ClassNotFoundException occur with a different random class. > > Because I have used the maven archetype, all my other processors obviously > use StandardValidators, so it's not like the class itself is somehow > corrupted. This feels like either a NiFi or maybe even JVM bug (or other > issue that is surfacing as this ClassNotFoundException). > > Pulling my hair out here - would love some help! > > Cheers, > Phil
