Causes of the problem:
When we upgrade the version of the company’s Flink, we type the task into a jar package and send it to the Flink cluster to run. Due to the upgrade of the version of the Flink, it has a certain impact on the components.
Question:
When collecting data, ES reported the following error
java.lang.bootstrap method error: call site initialization exception
java.lang.invoke.lambdaconversionexception: invalid receiver type interface org.apache.http.header; not a subtype of implementation type interface org.apache.http.NameValuePair
bug-fix:
In the POM file, HttpCore and httpclient are introduced separately, and then conflicting dependencies are excluded in the introduction of ES. However, this method does not solve my problem. Finally, it is solved by reducing the version of ES dependency, which is reduced from es7.11.1 to es7.2.0.
Read More:
- [Solved] JAVA Error: Error occurred during initialization of boot layer java.lang.module.FindException
- [Solved] nacos Startup Error: nested exception is java.lang.RuntimeException: java.lang.RuntimeException: [db-load-error
- [Solved] Initialization of anonymous inner class member variable causes java.lang.stackoverflowerror
- [Solved] Hbase-shell 2.x Error: Unhandled Java exception: java.lang.IncompatibleClassChangeError: Found class jline.Terminal…
- [Solved] Openfegn Remote Call Error: java.lang.NullPointerException: null
- Java uses class array to report error Exception in thread “main” java.lang.NullPointerException solution
- [Solved] nested exception is java.lang.NoClassDefFoundError: javax/xml/bind/DatatypeConverter
- [Solved] java.lang.IllegalStateException: Cannot call sendRedirect() after the response has been committed
- [Solved] Failed to start bean ‘documentationPluginsBootstrapper’; nested exception is java.lang.NullPointerException
- [Solved] Invocation of init method failed; nested exception is java.lang.NoSuchMethodError:
- [Solved] Method threw ‘java.lang.StackOverflowError‘ exception. Cannot evaluate
- Request processing failed; nested exception is java.lang.NullPointerException or UnsatisfiedDependencyE
- [Solved] Failed to start bean ‘eurekaAutoServiceRegistration‘; nested exception is java.lang.NullPointerExce
- [Solved] swagger Failed to start bean ‘documentationPluginsBootstrapper‘; nested exception is java.lang.NullP
- Error resolution: Handler dispatch failed; nested exception is java.lang.NoClassDefFoundError: javax/xml/bind/Datatype
- [Solved] qrcode-error: Exception in thread “main” java.lang.NoClassDefFoundError…
- nested exception is java.lang.StackOverflowError [How to Solve]
- [Solved] Java.lang.ClassCastException: [Ljava.lang.Long; cannot be cast to java.util.List
- keytool error: java.lang.Exception: Input not an X.509 certificate
- [Solved] Exception in thread “main“ java.lang.NoSuchFieldError: level