Home > other >  Elastictsearch error Java. Lang. NoSuchFieldError: Shared. Consult!
Elastictsearch error Java. Lang. NoSuchFieldError: Shared. Consult!

Time:02-19



Business code would only write four years of development, the distributed high concurrency also can't be a programmer? ->>


Elastictsearch open service is 5.4.2, is introduced in the maven 5.4.2 jars, but in the use of Java connection ES, create a client, an error:
Org. Springframework. Web. Util. NestedServletException: Handler dispatch failed; Nested exception is Java. Lang. NoSuchFieldError: Shared
The at org. Springframework. Web. Servlet. DispatcherServlet. DoDispatch (DispatcherServlet. Java: 1053) ~ [spring - webmvc - 5.1.2. The jar: 5.1.2. RELEASE]
The at org. Springframework. Web. Servlet. DispatcherServlet. DoService (DispatcherServlet. Java: 942) ~ [spring - webmvc - 5.1.2. The jar: 5.1.2. RELEASE]
The at org. Springframework. Web. Servlet. FrameworkServlet. The processRequest (FrameworkServlet. Java: 998) [spring - webmvc - 5.1.2. The jar: 5.1.2. RELEASE]
The at org. Springframework. Web. Servlet. FrameworkServlet. DoGet (FrameworkServlet. Java: 890) [spring - webmvc - 5.1.2. The jar: 5.1.2. RELEASE]
The at javax.mail. Servlet. HTTP. HttpServlet. Service (HttpServlet. Java: 634) [tomcat embed - core - 9.0.12. Jar: 9.0.12]
The at org. Springframework. Web. Servlet. FrameworkServlet. Service (FrameworkServlet. Java: 875) [spring - webmvc - 5.1.2. The jar: 5.1.2. RELEASE]
The at javax.mail. Servlet. HTTP. HttpServlet. Service (HttpServlet. Java: 741) [tomcat embed - core - 9.0.12. Jar: 9.0.12]
The at org. Apache. Catalina. Core. ApplicationFilterChain. InternalDoFilter (ApplicationFilterChain. Java: 231) [tomcat embed - core - 9.0.12. Jar: 9.0.12]
The at org. Apache. Catalina. Core. ApplicationFilterChain. DoFilter (ApplicationFilterChain. Java: 166) [tomcat embed - core - 9.0.12. Jar: 9.0.12]
At org, apache tomcat, websocket server WsFilter. DoFilter (53) WsFilter. Java: [tomcat embed - websocket - 9.0.12. Jar: 9.0.12]
The at org. Apache. Catalina. Core. ApplicationFilterChain. InternalDoFilter (ApplicationFilterChain. Java: 193) [tomcat embed - core - 9.0.12. Jar: 9.0.12]
The at org. Apache. Catalina. Core. ApplicationFilterChain. DoFilter (ApplicationFilterChain. Java: 166) [tomcat embed - core - 9.0.12. Jar: 9.0.12]
The at org. Springframework. Web. Filter. CharacterEncodingFilter. DoFilterInternal (CharacterEncodingFilter. Java: 200) [spring - web - 5.1.2. The jar: 5.1.2. RELEASE]
The at org. Springframework. Web. Filter. OncePerRequestFilter. DoFilter (OncePerRequestFilter. Java: 107) [spring - web - 5.1.2. The jar: 5.1.2. RELEASE]
The at org. Apache. Catalina. Core. ApplicationFilterChain. InternalDoFilter (ApplicationFilterChain. Java: 193) [tomcat embed - core - 9.0.12. Jar: 9.0.12]
The at org. Apache. Catalina. Core. ApplicationFilterChain. DoFilter (ApplicationFilterChain. Java: 166) [tomcat embed - core - 9.0.12. Jar: 9.0.12]
The at org. Apache. Catalina. Core. StandardWrapperValve. Invoke (StandardWrapperValve. Java: 199) [tomcat embed - core - 9.0.12. Jar: 9.0.12]
The at org. Apache. Catalina. Core. StandardContextValve. Invoke (StandardContextValve. Java: 96) [tomcat embed - core - 9.0.12. Jar: 9.0.12]
The at org. Apache. Catalina. The authenticator. AuthenticatorBase. Invoke (AuthenticatorBase. Java: 490) [tomcat embed - core - 9.0.12. Jar: 9.0.12]
The at org. Apache. Catalina. Core. StandardHostValve. Invoke (StandardHostValve. Java: 139) [tomcat embed - core - 9.0.12. Jar: 9.0.12]
The at org. Apache. Catalina. Valves. ErrorReportValve. Invoke (ErrorReportValve. Java: 92) [tomcat embed - core - 9.0.12. Jar: 9.0.12]
The at org. Apache. Catalina. Core. StandardEngineValve. Invoke (StandardEngineValve. Java: 74) [tomcat embed - core - 9.0.12. Jar: 9.0.12]
The at org. Apache. Catalina. Connector. CoyoteAdapter. Service (CoyoteAdapter. Java: 343) [tomcat embed - core - 9.0.12. Jar: 9.0.12]
The at org. Apache. Coyote. Http11. Http11Processor. Service (Http11Processor. Java: 408) [tomcat embed - core - 9.0.12. Jar: 9.0.12]
The at org. Apache. Coyote. AbstractProcessorLight. Process (AbstractProcessorLight. Java: 66) [tomcat embed - core - 9.0.12. Jar: 9.0.12]
The at org. Apache. Coyote. AbstractProtocol $ConnectionHandler. Process (AbstractProtocol. Java: 770) [tomcat embed - core - 9.0.12. Jar: 9.0.12]
The at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun (NioEndpoint. Java: 1415) [tomcat embed - core - 9.0.12. Jar: 9.0.12]
The at org.apache.tomcat.util.net.SocketProcessorBase.run (SocketProcessorBase. Java: 49) [tomcat embed - core - 9.0.12. Jar: 9.0.12]
The at Java. Util. Concurrent. ThreadPoolExecutor. RunWorker (ThreadPoolExecutor. Java: 1149) [na: 1.8.0 comes with _191]
The at Java. Util. Concurrent. ThreadPoolExecutor $Worker. The run (ThreadPoolExecutor. Java: 624) [na: 1.8.0 comes with _191]
At org, apache tomcat. Util. Threads. TaskThread $WrappingRunnable. Run (TaskThread. Java: 61) [tomcat embed - core - 9.0.12. Jar: 9.0.12]
The at Java. Lang. Thread. The run (Thread. Java: 748) [na: 1.8.0 comes with _191]
Under Caused by: Java. Lang. NoSuchFieldError: Shared
The at org.elasticsearch.http.netty3.Net ty3HttpServerTransport. & lt; Clinit> (Netty3HttpServerTransport. Java: 123) ~ [transport - netty3 - the client - 5.4.2. Jar: 5.4.2]
At org.elasticsearch.transport.Net ty3Plugin. GetSettings (Netty3Plugin. Java: 54) ~ [transport - netty3 - the client - 5.4.2. Jar: 5.4.2]
nullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnull
  • Related