title: Apache Nifi doesn't start after adding custom processor
body: <p>I am using Hortonworks HDF 1.2.0.1 sandbox and I am trying to add the <a href="https://github.com/mattyb149/nifi/blob/master/nifi-nar-bundles/nifi-hive-bundle/nifi-hive-processors/src/main/java/org/apache/nifi/processors/hive/PutHiveQL.java" rel="nofollow">PutHiveQL</a> processor which will be included in the 1.0 nifi release. So far I have generated the .nar archive, but nifi doesn't start anymore when it is imported into the /lib directory. I get a <code>java.lang.UnsupportedClassVersionError</code> in the <code>nifi-app.log</code>:</p>
  
  <pre><code>2016-07-15 13:22:37,158 ERROR [main] org.apache.nifi.NiFi Failure to launch NiFi 
  due to java.util.ServiceConfigurationError: org.apache.nifi.processor.Processor: 
  Provider nifi.test.processors.PutHiveQL could not be 
   instantiated java.util.ServiceConfigurationError: org.apache.nifi.processor.Processor: Provider nifi.test.processors.PutHiveQL could not be instantiated
      at java.util.ServiceLoader.fail(ServiceLoader.java:224) ~[na:1.7.0_95]
      at java.util.ServiceLoader.access$100(ServiceLoader.java:181) ~[na:1.7.0_95]
      at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:377) ~[na:1.7.0_95]
      at java.util.ServiceLoader$1.next(ServiceLoader.java:445) ~[na:1.7.0_95]
      at org.apache.nifi.nar.ExtensionManager.loadExtensions(ExtensionManager.java:107) ~[nifi-nar-utils-0.6.0.1.2.0.1-1.jar:0.6.0.1.2.0.1-1]
      at org.apache.nifi.nar.ExtensionManager.discoverExtensions(ExtensionManager.java:88) ~[nifi-nar-utils-0.6.0.1.2.0.1-1.jar:0.6.0.1.2.0.1-1]
      at org.apache.nifi.NiFi.&lt;init&gt;(NiFi.java:120) ~[nifi-runtime-0.6.0.1.2.0.1-1.jar:0.6.0.1.2.0.1-1]
      at org.apache.nifi.NiFi.main(NiFi.java:227) ~[nifi-runtime-0.6.0.1.2.0.1-1.jar:0.6.0.1.2.0.1-1] 
  
  Caused by: java.lang.UnsupportedClassVersionError: org/apache/nifi/processor/util/StandardValidators : Unsupported major.minor version 52.0
      at java.lang.ClassLoader.defineClass1(Native Method) ~[na:1.7.0_95]
      at java.lang.ClassLoader.defineClass(ClassLoader.java:800) ~[na:1.7.0_95]
      at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) ~[na:1.7.0_95]
      at java.net.URLClassLoader.defineClass(URLClassLoader.java:449) ~[na:1.7.0_95]
      at java.net.URLClassLoader.access$100(URLClassLoader.java:71) ~[na:1.7.0_95]
      at java.net.URLClassLoader$1.run(URLClassLoader.java:361) ~[na:1.7.0_95]
      at java.net.URLClassLoader$1.run(URLClassLoader.java:355) ~[na:1.7.0_95]
      at java.security.AccessController.doPrivileged(Native Method) ~[na:1.7.0_95]
      at java.net.URLClassLoader.findClass(URLClassLoader.java:354) ~[na:1.7.0_95]
      at java.lang.ClassLoader.loadClass(ClassLoader.java:425) ~[na:1.7.0_95]
      at java.lang.ClassLoader.loadClass(ClassLoader.java:358) ~[na:1.7.0_95]
      at nifi.test.processors.PutHiveQL.&lt;clinit&gt;(PutHiveQL.java:73) ~[nifi-hiveQLProcessor-1.0-SNAPSHOT.nar-unpacked/:na]
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[na:1.7.0_95]
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) ~[na:1.7.0_95]
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[na:1.7.0_95]
      at java.lang.reflect.Constructor.newInstance(Constructor.java:526) ~[na:1.7.0_95]
      at java.lang.Class.newInstance(Class.java:383) ~[na:1.7.0_95]
      at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:373) ~[na:1.7.0_95]
      ... 5 common frames omitted
  </code></pre>
  
  <p>Seems like the runtime jdk and the one used for compiling is not the same. I've checked nifi, and it is using jdk 1.7 (while I was running 1.8 on my machine). I've installed the same in my system, but I am still getting the same error. Any suggestion on how to fix that? Thank you!</p>
  
  <hr>
  
  <p><strong>EDIT</strong></p>
  
  <p>I tried installing nifi 0.7 locally and adding the custom processor but I get the same exact behavior.</p>