Peter The prioritizer was moved during the refactoring to enable support for multiple versions of a given component. It is possible that your git repository contains items that are no longer consistent with the canonical nifi master repo. Give 'git clean ...' a try with the appropriate settings for your case.
I just a did a full build on windows with the latest code base and it came up just fine. Thanks Joe On Fri, Mar 31, 2017 at 1:39 AM, Peter Wicks (pwicks) <[email protected]> wrote: > I updated my fork to the latest this morning to do some testing and have been > getting the below error on startup. > My first assumption was a build issue on my end so I cleaned out the NiFi MVN > cache on my box and built again, but I'm still getting this error. > > I've only tested this on my Windows box. Thoughts? > > ERROR [main] org.apache.nifi.NiFi Failure to launch NiFi due to > java.lang.IllegalStateException: Attempt was made to load > org.apache.nifi.prioritizer.FirstInFirstOutPrioritizer from > org.apache.nifi:nifi-standard-nar:1.2.0-SNAPSHOT but that class name is > already loaded/registered from > org.apache.nifi:nifi-framework-nar:1.2.0-SNAPSHOT and multiple versions are > not supported for this type > java.lang.IllegalStateException: Attempt was made to load > org.apache.nifi.prioritizer.FirstInFirstOutPrioritizer from > org.apache.nifi:nifi-standard-nar:1.2.0-SNAPSHOT but that class name is > already loaded/registered from > org.apache.nifi:nifi-framework-nar:1.2.0-SNAPSHOT and multiple versions are > not supported for this type > at > org.apache.nifi.nar.ExtensionManager.registerServiceClass(ExtensionManager.java:295) > ~[nifi-nar-utils-1.2.0-SNAPSHOT.jar:1.2.0-SNAPSHOT] > at > org.apache.nifi.nar.ExtensionManager.loadExtensions(ExtensionManager.java:185) > ~[nifi-nar-utils-1.2.0-SNAPSHOT.jar:1.2.0-SNAPSHOT] > at > org.apache.nifi.nar.ExtensionManager.discoverExtensions(ExtensionManager.java:117) > ~[nifi-nar-utils-1.2.0-SNAPSHOT.jar:1.2.0-SNAPSHOT] > at org.apache.nifi.NiFi.<init>(NiFi.java:145) > ~[nifi-runtime-1.2.0-SNAPSHOT.jar:1.2.0-SNAPSHOT] > at org.apache.nifi.NiFi.main(NiFi.java:269) > ~[nifi-runtime-1.2.0-SNAPSHOT.jar:1.2.0-SNAPSHOT] > 2017-03-31 13:06:46,648 INFO [Thread-1] org.apache.nifi.NiFi Initiating > shutdown of Jetty web server... > 2017-03-31 13:06:46,649 INFO [Thread-1] org.apache.nifi.NiFi Jetty web server > shutdown completed (nicely or otherwise).
