ElasticSearch5.0.0 Exception in thread "main"java.lang.AbstractMethodError

2150 단어
최근 ElasiticSearch를 5.0.0으로 업그레이드한 후 계속 이상이 발생했습니다.
Exception in thread "main" java.lang.AbstractMethodError: io.netty.util.concurrent.MultithreadEventExecutorGroup.newChild(Ljava/util/concurrent/Executor;[Ljava/lang/Object;)Lio/netty/util/concurrent/EventExecutor;
    at io.netty.util.concurrent.MultithreadEventExecutorGroup.(MultithreadEventExecutorGroup.java:84)
    at io.netty.util.concurrent.MultithreadEventExecutorGroup.(MultithreadEventExecutorGroup.java:58)
    at io.netty.util.concurrent.MultithreadEventExecutorGroup.(MultithreadEventExecutorGroup.java:47)
    at io.netty.channel.MultithreadEventLoopGroup.(MultithreadEventLoopGroup.java:49)
    at io.netty.channel.nio.NioEventLoopGroup.(NioEventLoopGroup.java:61)
    at io.netty.channel.nio.NioEventLoopGroup.(NioEventLoopGroup.java:52)
    at org.elasticsearch.transport.netty4.Netty4Transport.createBootstrap(Netty4Transport.java:200)
    at org.elasticsearch.transport.netty4.Netty4Transport.doStart(Netty4Transport.java:171)
    at org.elasticsearch.common.component.AbstractLifecycleComponent.start(AbstractLifecycleComponent.java:68)
    at org.elasticsearch.transport.TransportService.doStart(TransportService.java:182)
    at org.elasticsearch.common.component.AbstractLifecycleComponent.start(AbstractLifecycleComponent.java:68)
    at org.elasticsearch.client.transport.TransportClient.buildTemplate(TransportClient.java:169)
    at org.elasticsearch.client.transport.TransportClient.(TransportClient.java:228)
    at org.elasticsearch.transport.client.PreBuiltTransportClient.(PreBuiltTransportClient.java:69)
    at org.elasticsearch.transport.client.PreBuiltTransportClient.(PreBuiltTransportClient.java:65)

원인:jar 패키지 충돌.elasticsearch5.0.0은 io가 필요합니다.netty와log4j는 원본 프로젝트에서 패키지 충돌을 지원합니다.해결 방법: 마븐에서 jar 패키지를 제거하고 충돌하는 jar 패키지를 찾아 정상적으로 복구합니다.
    
  org.apache.qpid    
  qpid-jms-client    
  0.9.0

좋은 웹페이지 즐겨찾기