have you tried rebuilding all of nifi?  and is this on master?

On Sun, Sep 23, 2018, 11:29 AM Ed B <[email protected]> wrote:

> I had to build nifi-standard-processors project, and the build was OK all
> the way until tests. Tests where failing with NoSuchMethodError for some of
> the Jetty classes.
> I found out that Jetty version has been changed to newer one:
> [image: image.png]
>
> If I change it back to 9.4.3 - build runs successfully including tests.
>
> Exception I'm getting with 9.4.11:
> [INFO] Running org.apache.nifi.processors.standard.TestInvokeHttpTwoWaySSL
> [ERROR] Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed:
> 0.006 s <<< FAILURE! - in
> org.apache.nifi.processors.standard.TestInvokeHttpTwoWaySSL
> [ERROR] org.apache.nifi.processors.standard.TestInvokeHttpTwoWaySSL  Time
> elapsed: 0.005 s  <<< ERROR!
> java.lang.NoSuchMethodError:
> org.eclipse.jetty.server.handler.HandlerCollection.<init>(Z)V
> at
> org.apache.nifi.processors.standard.TestInvokeHttpTwoWaySSL.beforeClass(TestInvokeHttpTwoWaySSL.java:42)
>
> [ERROR] org.apache.nifi.processors.standard.TestInvokeHttpTwoWaySSL  Time
> elapsed: 0.006 s  <<< ERROR!
> java.lang.NullPointerException
>
> [INFO] Running org.apache.nifi.processors.standard.TestInvokeHttpSSL
> [ERROR] Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed:
> 0.001 s <<< FAILURE! - in
> org.apache.nifi.processors.standard.TestInvokeHttpSSL
> [ERROR] org.apache.nifi.processors.standard.TestInvokeHttpSSL  Time
> elapsed: 0.001 s  <<< ERROR!
> java.lang.NoSuchMethodError:
> org.eclipse.jetty.server.handler.HandlerCollection.<init>(Z)V
> at
> org.apache.nifi.processors.standard.TestInvokeHttpSSL.createServer(TestInvokeHttpSSL.java:93)
> at
> org.apache.nifi.processors.standard.TestInvokeHttpSSL.beforeClass(TestInvokeHttpSSL.java:55)
>
> [ERROR] org.apache.nifi.processors.standard.TestInvokeHttpSSL  Time
> elapsed: 0.001 s  <<< ERROR!
> java.lang.NullPointerException
> at
> org.apache.nifi.processors.standard.TestInvokeHttpSSL.afterClass(TestInvokeHttpSSL.java:66)
>
> and others...
>
> Any suggestions?
>
> Thanks,
> Ed.
>

Reply via email to