Hi Everyone, Appreciate any help on following.
I am using nifi-1.23.2 and Solr version is 9.2.0. In my nifi processor I have logic to create Solr client. It was working as expected till Solrj8.11.2. Last week I upgraded my Solrj to 9.4.0. After that I started getting following error while creating Solr client in my nifi processor. java.lang.IncompatibleClassChangeError: class org.eclipse.jetty.http.HttpFields$Mutable can not implement org.eclipse.jetty.http.HttpFields, because it is not an interface (org.eclipse.jetty.http.HttpFields is in unnamed module of loader org.apache.nifi.nar.NarClassLoader @4a8df3e2) at java.base/java.lang.ClassLoader.defineClass1(Native Method) at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1012) at java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:150) at java.base/java.net.URLClassLoader.defineClass(URLClassLoader.java:524) at java.base/java.net.URLClassLoader$1.run(URLClassLoader.java:427) at java.base/java.net.URLClassLoader$1.run(URLClassLoader.java:421) at java.base/java.security.AccessController.doPrivileged(AccessController.java:712) at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:420) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:587) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520) at org.apache.solr.client.solrj.impl.Http2SolrClient$Builder.<init>(Http2SolrClient.java:1066) at org.apache.solr.client.solrj.impl.CloudHttp2SolrClient.<init>(CloudHttp2SolrClient.java:61) at org.apache.solr.client.solrj.impl.CloudHttp2SolrClient$Builder.build(CloudHttp2SolrClient.java:429) I am using following method to create solr Client. CloudSolrClient.Builder(urlList, Optional.empty()).withZkConnectTimeout(10000, TimeUnit.MILLISECONDS) .withZkClientTimeout(60000, TimeUnit.MILLISECONDS).build() Thanks Subhasis Patra 240-755-2601 subhasis.pa...@e2open.com<mailto:subhasis.pa...@e2open.com>