Just a simple idea, but try clearing your browser cache out and reloading
the entire canvas. I have had some funny behaviours before with a stale
cache not seeing anything.

On Tue, Mar 28, 2017 at 5:57 PM, Russell Bateman <[email protected]>
wrote:

> I've built a NAR containing a custom processor that loads in NiFi, but the
> processor cannot be found. At the top of /TikaProcessor.java/, I have,
> among other annotations, this:
>
> @Tags( { "tika" } )
>
> I've tried a number of things to solve this, like making it the only NAR
> besides just the set NiFi 1.1.1 ships with, and wiping out all flows down
> to a blank canvas. I tried removing SNAPSHOT from its version. *I see this
> in **/logs/nifi-app.log/*: This is the only reference to it in any log, but
> it does make me think that it's loaded:
>
> 2017-03-28 15:24:20,226 INFO [main] org.apache.nifi.nar.NarClassLoaders
> Loaded NAR file: /home/russ/dev/nifi/nifi-1.1.1
> /./work/nar/extensions/nifi-tika-1.0.1.nar-unpacked as class loader
> org.apache.nifi.nar.NarClassLoader[./work/nar/extensions/
> nifi-tika-1.0.1.nar-unpacked]
>
> In /resources/META_INF/services/, /org.apache.nifi.processor.Processor/
> contains:
>
> /com.imatsolutions.nifi.processor.TikaProcessor/
>
>  I have a separate, very large project with many custom processors all of
> which load fine (and I've used this one before. In fact, the only thing
> I've done is remove this long-working processor from a larger set.) This
> project is very small:
>
>    nifi-tika
>    +-- nar
>    | +-- /nifi-tika-1.0.1.nar/
>    |   `-- pom.xml (packaging is "nar")
>    +-- pom.xml (packaging is "pom")
>    `-- tika
>         +-- pom.xml (packaging is "jar")
>         +-- src (test, resources, etc. including
>    /resources/META_INF/services/org.apache.nifi.p//rocessor.Processor/)
>         `-- target
>             `-- /tika-1.0.1.jar/
>
> I'm not certain what else to try. My /pom.xml/ files produce a NAR. NiFi
> appears to dignify it as a NAR. I keep retracing all the steps, but cannot
> figure out what I've missed.
>
>


-- 
Joseph

Reply via email to