Description
When using HandleHttpRequest in a MiNiFi flow in version 2.0.0-M2 it results in an error:
2024-04-10 08:47:15,984 ERROR [Timer-Driven Process Thread-6] o.a.n.p.standard.HandleHttpRequest HandleHttpRequest[id=c6babdfa-018e-1000-78f6-d8fd88397126] Processing halted: yielding [1 sec] java.lang.NoClassDefFoundError: org/eclipse/jetty/server/handler/ContextHandler at org.apache.nifi.processors.standard.HandleHttpRequest.initializeServer(HandleHttpRequest.java:487) at org.apache.nifi.processors.standard.HandleHttpRequest.onTrigger(HandleHttpRequest.java:572) at org.apache.nifi.processor.AbstractProcessor.onTrigger(AbstractProcessor.java:27) at org.apache.nifi.controller.StandardProcessorNode.onTrigger(StandardProcessorNode.java:1274) at org.apache.nifi.controller.tasks.ConnectableTask.invoke(ConnectableTask.java:244) at org.apache.nifi.controller.scheduling.TimerDrivenSchedulingAgent$1.run(TimerDrivenSchedulingAgent.java:102) at org.apache.nifi.engine.FlowEngine$2.run(FlowEngine.java:110) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:572) at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:358) at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) at java.base/java.lang.Thread.run(Thread.java:1583) Caused by: java.lang.ClassNotFoundException: org.eclipse.jetty.server.handler.ContextHandler ... 13 common frames omitted
Most probably this happens due to the Jetty 12 upgrade.
Attachments
Issue Links
- links to