spring-boot-starter-data-neo4j和spring-boot-starter-data-elasticsearch jar文件冲突

在一个项目中需要同时访问neo4j和elasticsearch,在使用过程中发现一个异常:

       2018-05-14 08:40:47.846 ERROR 46751 --- [ient_boss][T#4]] o.e.transport.netty4.Netty4Utils         : fatal error on the network layer
        at org.elasticsearch.transport.netty4.Netty4Utils.maybeDie(Netty4Utils.java:184)
        at org.elasticsearch.transport.netty4.Netty4MessageChannelHandler.exceptionCaught(Netty4MessageChannelHandler.java:83)
        at io.netty.channel.AbstractChannelHandlerContext.invokeExceptionCaught(AbstractChannelHandlerContext.java:285)
        at io.netty.channel.AbstractChannelHandlerContext.notifyHandlerException(AbstractChannelHandlerContext.java:850)
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:364)
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
        at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
        at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:310)
        at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:297)
        at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:413)
        at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:265)
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
        at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
        at io.netty.handler.logging.LoggingHandler.channelRead(LoggingHandler.java:241)
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
        at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
        at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1434)
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
        at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:965)
        at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:163)
        at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:645)
        at io.netty.channel.nio.NioEventLoop.processSelectedKeysPlain(NioEventLoop.java:545)
        at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:499)
        at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:459)
        at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:886)
        at java.lang.Thread.run(Thread.java:748)
    Exception in thread "Thread-28" java.lang.NoSuchMethodError: org.apache.lucene.codecs.blocktree.BlockTreeTermsWriter.validateAutoPrefixSettings(II)V
        at org.apache.lucene.codecs.autoprefix.AutoPrefixPostingsFormat.<init>(AutoPrefixPostingsFormat.java:77)
        at org.apache.lucene.codecs.autoprefix.AutoPrefixPostingsFormat.<init>(AutoPrefixPostingsFormat.java:52)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
        at java.lang.Class.newInstance(Class.java:442)
        at org.apache.lucene.util.NamedSPILoader.reload(NamedSPILoader.java:72)
        at org.apache.lucene.util.NamedSPILoader.<init>(NamedSPILoader.java:51)
        at org.apache.lucene.util.NamedSPILoader.<init>(NamedSPILoader.java:38)
        at org.apache.lucene.codecs.PostingsFormat$Holder.<clinit>(PostingsFormat.java:49)
        at org.apache.lucene.codecs.PostingsFormat.forName(PostingsFormat.java:112)
        at org.elasticsearch.common.lucene.Lucene.<clinit>(Lucene.java:101)
        at org.elasticsearch.search.aggregations.metrics.tophits.InternalTopHits.<init>(InternalTopHits.java:63)
        at org.elasticsearch.common.io.stream.NamedWriteableAwareStreamInput.readNamedWriteable(NamedWriteableAwareStreamInput.java:46)
        at org.elasticsearch.common.io.stream.NamedWriteableAwareStreamInput.readNamedWriteable(NamedWriteableAwareStreamInput.java:39)
        at org.elasticsearch.search.aggregations.InternalAggregations.lambda$readFrom$1(InternalAggregations.java:94)
        at org.elasticsearch.common.io.stream.StreamInput.readList(StreamInput.java:887)
        at org.elasticsearch.search.aggregations.InternalAggregations.readFrom(InternalAggregations.java:94)
        at org.elasticsearch.search.aggregations.InternalAggregations.readAggregations(InternalAggregations.java:84)
        at org.elasticsearch.search.aggregations.bucket.terms.InternalTerms$Bucket.<init>(InternalTerms.java:86)
        at org.elasticsearch.search.aggregations.bucket.terms.StringTerms$Bucket.<init>(StringTerms.java:51)
        at org.elasticsearch.search.aggregations.bucket.terms.InternalMappedTerms.lambda$new$0(InternalMappedTerms.java:70)
        at org.elasticsearch.common.io.stream.StreamInput.readList(StreamInput.java:887)
        at org.elasticsearch.search.aggregations.bucket.terms.InternalMappedTerms.<init>(InternalMappedTerms.java:70)
        at org.elasticsearch.search.aggregations.bucket.terms.StringTerms.<init>(StringTerms.java:111)
        at org.elasticsearch.common.io.stream.NamedWriteableAwareStreamInput.readNamedWriteable(NamedWriteableAwareStreamInput.java:46)
        at org.elasticsearch.common.io.stream.NamedWriteableAwareStreamInput.readNamedWriteable(NamedWriteableAwareStreamInput.java:39)
        at org.elasticsearch.search.aggregations.InternalAggregations.lambda$readFrom$1(InternalAggregations.java:94)
        at org.elasticsearch.common.io.stream.StreamInput.readList(StreamInput.java:887)
        at org.elasticsearch.search.aggregations.InternalAggregations.readFrom(InternalAggregations.java:94)
        at org.elasticsearch.search.aggregations.InternalAggregations.readAggregations(InternalAggregations.java:84)
        at org.elasticsearch.search.aggregations.bucket.terms.InternalTerms$Bucket.<init>(InternalTerms.java:86)
        at org.elasticsearch.search.aggregations.bucket.terms.StringTerms$Bucket.<init>(StringTerms.java:51)
        at org.elasticsearch.search.aggregations.bucket.terms.InternalMappedTerms.lambda$new$0(InternalMappedTerms.java:70)
        at org.elasticsearch.common.io.stream.StreamInput.readList(StreamInput.java:887)
        at org.elasticsearch.search.aggregations.bucket.terms.InternalMappedTerms.<init>(InternalMappedTerms.java:70)
        at org.elasticsearch.search.aggregations.bucket.terms.StringTerms.<init>(StringTerms.java:111)
        at org.elasticsearch.common.io.stream.NamedWriteableAwareStreamInput.readNamedWriteable(NamedWriteableAwareStreamInput.java:46)
        at org.elasticsearch.common.io.stream.NamedWriteableAwareStreamInput.readNamedWriteable(NamedWriteableAwareStreamInput.java:39)
        at org.elasticsearch.search.aggregations.InternalAggregations.lambda$readFrom$1(InternalAggregations.java:94)
        at org.elasticsearch.common.io.stream.StreamInput.readList(StreamInput.java:887)
        at org.elasticsearch.search.aggregations.InternalAggregations.readFrom(InternalAggregations.java:94)
        at org.elasticsearch.search.aggregations.InternalAggregations.readAggregations(InternalAggregations.java:84)
        at org.elasticsearch.search.internal.InternalSearchResponse.<init>(InternalSearchResponse.java:54)
        at org.elasticsearch.action.search.SearchResponse.readFrom(SearchResponse.java:320)
        at org.elasticsearch.transport.TcpTransport.handleResponse(TcpTransport.java:1439)
        at org.elasticsearch.transport.TcpTransport.messageReceived(TcpTransport.java:1414)
        at org.elasticsearch.transport.netty4.Netty4MessageChannelHandler.channelRead(Netty4MessageChannelHandler.java:74)
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
        at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
        at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:310)
        at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:297)
        at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:413)
        at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:265)
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
        at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
        at io.netty.handler.logging.LoggingHandler.channelRead(LoggingHandler.java:241)
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
        at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
        at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1434)
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
        at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:965)
        at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:163)
        at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:645)
        at io.netty.channel.nio.NioEventLoop.processSelectedKeysPlain(NioEventLoop.java:545)
        at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:499)
        at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:459)
        at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:886)
        at java.lang.Thread.run(Thread.java:748)
    2018-05-14 08:40:48.022  WARN 46751 --- [ient_boss][T#4]] o.e.transport.netty4.Netty4Transport     : exception caught on transport layer [[id: 0xa5d787ac, L:/172.16.2.25:60015 - R:/172.16.3.113:9300]], closing connection

    org.elasticsearch.ElasticsearchException: java.lang.NoSuchMethodError: org.apache.lucene.codecs.blocktree.BlockTreeTermsWriter.validateAutoPrefixSettings(II)V
        at org.elasticsearch.transport.netty4.Netty4Transport.exceptionCaught(Netty4Transport.java:324) [transport-netty4-client-5.6.8.jar:5.6.8]
        at org.elasticsearch.transport.netty4.Netty4MessageChannelHandler.exceptionCaught(Netty4MessageChannelHandler.java:84) [transport-netty4-client-5.6.8.jar:5.6.8]
        at io.netty.channel.AbstractChannelHandlerContext.invokeExceptionCaught(AbstractChannelHandlerContext.java:285) [netty-all-4.1.23.Final.jar:4.1.23.Final]
        at io.netty.channel.AbstractChannelHandlerContext.notifyHandlerException(AbstractChannelHandlerContext.java:850) [netty-all-4.1.23.Final.jar:4.1.23.Final]
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:364) [netty-all-4.1.23.Final.jar:4.1.23.Final]
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) [netty-all-4.1.23.Final.jar:4.1.23.Final]
        at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340) [netty-all-4.1.23.Final.jar:4.1.23.Final]
        at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:310) [netty-all-4.1.23.Final.jar:4.1.23.Final]
        at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:297) [netty-all-4.1.23.Final.jar:4.1.23.Final]
        at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:413) [netty-all-4.1.23.Final.jar:4.1.23.Final]
        at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:265) [netty-all-4.1.23.Final.jar:4.1.23.Final]
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) [netty-all-4.1.23.Final.jar:4.1.23.Final]
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) [netty-all-4.1.23.Final.jar:4.1.23.Final]
        at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340) [netty-all-4.1.23.Final.jar:4.1.23.Final]
        at io.netty.handler.logging.LoggingHandler.channelRead(LoggingHandler.java:241) [netty-all-4.1.23.Final.jar:4.1.23.Final]
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) [netty-all-4.1.23.Final.jar:4.1.23.Final]
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) [netty-all-4.1.23.Final.jar:4.1.23.Final]
        at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340) [netty-all-4.1.23.Final.jar:4.1.23.Final]
        at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1434) [netty-all-4.1.23.Final.jar:4.1.23.Final]
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) [netty-all-4.1.23.Final.jar:4.1.23.Final]
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) [netty-all-4.1.23.Final.jar:4.1.23.Final]
        at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:965) [netty-all-4.1.23.Final.jar:4.1.23.Final]
        at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:163) [netty-all-4.1.23.Final.jar:4.1.23.Final]
        at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:645) [netty-all-4.1.23.Final.jar:4.1.23.Final]
        at io.netty.channel.nio.NioEventLoop.processSelectedKeysPlain(NioEventLoop.java:545) [netty-all-4.1.23.Final.jar:4.1.23.Final]
        at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:499) [netty-all-4.1.23.Final.jar:4.1.23.Final]
        at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:459) [netty-all-4.1.23.Final.jar:4.1.23.Final]
        at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:886) [netty-all-4.1.23.Final.jar:4.1.23.Final]
        at java.lang.Thread.run(Thread.java:748) [na:1.8.0_131]
    Caused by: java.lang.NoSuchMethodError: org.apache.lucene.codecs.blocktree.BlockTreeTermsWriter.validateAutoPrefixSettings(II)V
        at org.apache.lucene.codecs.autoprefix.AutoPrefixPostingsFormat.<init>(AutoPrefixPostingsFormat.java:77) ~[lucene-codecs-5.5.0.jar:5.5.0 2a228b3920a07f930f7afb6a42d0d20e184a943c - mike - 2016-02-16 15:19:02]
        at org.apache.lucene.codecs.autoprefix.AutoPrefixPostingsFormat.<init>(AutoPrefixPostingsFormat.java:52) ~[lucene-codecs-5.5.0.jar:5.5.0 2a228b3920a07f930f7afb6a42d0d20e184a943c - mike - 2016-02-16 15:19:02]
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[na:1.8.0_131]
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[na:1.8.0_131]
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[na:1.8.0_131]
        at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[na:1.8.0_131]
        at java.lang.Class.newInstance(Class.java:442) ~[na:1.8.0_131]
        at org.apache.lucene.util.NamedSPILoader.reload(NamedSPILoader.java:72) ~[lucene-core-6.6.1.jar:6.6.1 9aa465a89b64ff2dabe7b4d50c472de32c298683 - varunthacker - 2017-08-29 21:54:39]
        at org.apache.lucene.util.NamedSPILoader.<init>(NamedSPILoader.java:51) ~[lucene-core-6.6.1.jar:6.6.1 9aa465a89b64ff2dabe7b4d50c472de32c298683 - varunthacker - 2017-08-29 21:54:39]
        at org.apache.lucene.util.NamedSPILoader.<init>(NamedSPILoader.java:38) ~[lucene-core-6.6.1.jar:6.6.1 9aa465a89b64ff2dabe7b4d50c472de32c298683 - varunthacker - 2017-08-29 21:54:39]
        at org.apache.lucene.codecs.PostingsFormat$Holder.<clinit>(PostingsFormat.java:49) ~[lucene-core-6.6.1.jar:6.6.1 9aa465a89b64ff2dabe7b4d50c472de32c298683 - varunthacker - 2017-08-29 21:54:39]
        at org.apache.lucene.codecs.PostingsFormat.forName(PostingsFormat.java:112) ~[lucene-core-6.6.1.jar:6.6.1 9aa465a89b64ff2dabe7b4d50c472de32c298683 - varunthacker - 2017-08-29 21:54:39]
        at org.elasticsearch.common.lucene.Lucene.<clinit>(Lucene.java:101) ~[elasticsearch-5.6.8.jar:5.6.8]
        at org.elasticsearch.search.aggregations.metrics.tophits.InternalTopHits.<init>(InternalTopHits.java:63) ~[elasticsearch-5.6.8.jar:5.6.8]
        at org.elasticsearch.common.io.stream.NamedWriteableAwareStreamInput.readNamedWriteable(NamedWriteableAwareStreamInput.java:46) ~[elasticsearch-5.6.8.jar:5.6.8]
        at org.elasticsearch.common.io.stream.NamedWriteableAwareStreamInput.readNamedWriteable(NamedWriteableAwareStreamInput.java:39) ~[elasticsearch-5.6.8.jar:5.6.8]
        at org.elasticsearch.search.aggregations.InternalAggregations.lambda$readFrom$1(InternalAggregations.java:94) ~[elasticsearch-5.6.8.jar:5.6.8]
        at org.elasticsearch.common.io.stream.StreamInput.readList(StreamInput.java:887) ~[elasticsearch-5.6.8.jar:5.6.8]
        at org.elasticsearch.search.aggregations.InternalAggregations.readFrom(InternalAggregations.java:94) ~[elasticsearch-5.6.8.jar:5.6.8]
        at org.elasticsearch.search.aggregations.InternalAggregations.readAggregations(InternalAggregations.java:84) ~[elasticsearch-5.6.8.jar:5.6.8]
        at org.elasticsearch.search.aggregations.bucket.terms.InternalTerms$Bucket.<init>(InternalTerms.java:86) ~[elasticsearch-5.6.8.jar:5.6.8]
        at org.elasticsearch.search.aggregations.bucket.terms.StringTerms$Bucket.<init>(StringTerms.java:51) ~[elasticsearch-5.6.8.jar:5.6.8]
        at org.elasticsearch.search.aggregations.bucket.terms.InternalMappedTerms.lambda$new$0(InternalMappedTerms.java:70) ~[elasticsearch-5.6.8.jar:5.6.8]
        at org.elasticsearch.common.io.stream.StreamInput.readList(StreamInput.java:887) ~[elasticsearch-5.6.8.jar:5.6.8]
        at org.elasticsearch.search.aggregations.bucket.terms.InternalMappedTerms.<init>(InternalMappedTerms.java:70) ~[elasticsearch-5.6.8.jar:5.6.8]
        at org.elasticsearch.search.aggregations.bucket.terms.StringTerms.<init>(StringTerms.java:111) ~[elasticsearch-5.6.8.jar:5.6.8]
        at org.elasticsearch.common.io.stream.NamedWriteableAwareStreamInput.readNamedWriteable(NamedWriteableAwareStreamInput.java:46) ~[elasticsearch-5.6.8.jar:5.6.8]
        at org.elasticsearch.common.io.stream.NamedWriteableAwareStreamInput.readNamedWriteable(NamedWriteableAwareStreamInput.java:39) ~[elasticsearch-5.6.8.jar:5.6.8]
        at org.elasticsearch.search.aggregations.InternalAggregations.lambda$readFrom$1(InternalAggregations.java:94) ~[elasticsearch-5.6.8.jar:5.6.8]
        at org.elasticsearch.common.io.stream.StreamInput.readList(StreamInput.java:887) ~[elasticsearch-5.6.8.jar:5.6.8]
        at org.elasticsearch.search.aggregations.InternalAggregations.readFrom(InternalAggregations.java:94) ~[elasticsearch-5.6.8.jar:5.6.8]
        at org.elasticsearch.search.aggregations.InternalAggregations.readAggregations(InternalAggregations.java:84) ~[elasticsearch-5.6.8.jar:5.6.8]
        at org.elasticsearch.search.aggregations.bucket.terms.InternalTerms$Bucket.<init>(InternalTerms.java:86) ~[elasticsearch-5.6.8.jar:5.6.8]
        at org.elasticsearch.search.aggregations.bucket.terms.StringTerms$Bucket.<init>(StringTerms.java:51) ~[elasticsearch-5.6.8.jar:5.6.8]
        at org.elasticsearch.search.aggregations.bucket.terms.InternalMappedTerms.lambda$new$0(InternalMappedTerms.java:70) ~[elasticsearch-5.6.8.jar:5.6.8]
        at org.elasticsearch.common.io.stream.StreamInput.readList(StreamInput.java:887) ~[elasticsearch-5.6.8.jar:5.6.8]
        at org.elasticsearch.search.aggregations.bucket.terms.InternalMappedTerms.<init>(InternalMappedTerms.java:70) ~[elasticsearch-5.6.8.jar:5.6.8]
        at org.elasticsearch.search.aggregations.bucket.terms.StringTerms.<init>(StringTerms.java:111) ~[elasticsearch-5.6.8.jar:5.6.8]
        at org.elasticsearch.common.io.stream.NamedWriteableAwareStreamInput.readNamedWriteable(NamedWriteableAwareStreamInput.java:46) ~[elasticsearch-5.6.8.jar:5.6.8]
        at org.elasticsearch.common.io.stream.NamedWriteableAwareStreamInput.readNamedWriteable(NamedWriteableAwareStreamInput.java:39) ~[elasticsearch-5.6.8.jar:5.6.8]
        at org.elasticsearch.search.aggregations.InternalAggregations.lambda$readFrom$1(InternalAggregations.java:94) ~[elasticsearch-5.6.8.jar:5.6.8]
        at org.elasticsearch.common.io.stream.StreamInput.readList(StreamInput.java:887) ~[elasticsearch-5.6.8.jar:5.6.8]
        at org.elasticsearch.search.aggregations.InternalAggregations.readFrom(InternalAggregations.java:94) ~[elasticsearch-5.6.8.jar:5.6.8]
        at org.elasticsearch.search.aggregations.InternalAggregations.readAggregations(InternalAggregations.java:84) ~[elasticsearch-5.6.8.jar:5.6.8]
        at org.elasticsearch.search.internal.InternalSearchResponse.<init>(InternalSearchResponse.java:54) ~[elasticsearch-5.6.8.jar:5.6.8]
        at org.elasticsearch.action.search.SearchResponse.readFrom(SearchResponse.java:320) ~[elasticsearch-5.6.8.jar:5.6.8]
        at org.elasticsearch.transport.TcpTransport.handleResponse(TcpTransport.java:1439) ~[elasticsearch-5.6.8.jar:5.6.8]
        at org.elasticsearch.transport.TcpTransport.messageReceived(TcpTransport.java:1414) ~[elasticsearch-5.6.8.jar:5.6.8]
        at org.elasticsearch.transport.netty4.Netty4MessageChannelHandler.channelRead(Netty4MessageChannelHandler.java:74) [transport-netty4-client-5.6.8.jar:5.6.8]
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) [netty-all-4.1.23.Final.jar:4.1.23.Final]
        ... 24 common frames omitted

经过排查,发现是lucene jar包冲突导致的,把pom文件修改如下解决

            <dependency>
                <groupId>org.springframework.boot</groupId>
                <artifactId>spring-boot-starter-data-neo4j</artifactId>
                <exclusions>
                    <exclusion>
                        <artifactId>lucene-codecs</artifactId>
                        <groupId>org.apache.lucene</groupId>
                    </exclusion>
                </exclusions>
            </dependency>
最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
  • 序言:七十年代末,一起剥皮案震惊了整个滨河市,随后出现的几起案子,更是在滨河造成了极大的恐慌,老刑警刘岩,带你破解...
    沈念sama阅读 205,386评论 6 479
  • 序言:滨河连续发生了三起死亡事件,死亡现场离奇诡异,居然都是意外死亡,警方通过查阅死者的电脑和手机,发现死者居然都...
    沈念sama阅读 87,939评论 2 381
  • 文/潘晓璐 我一进店门,熙熙楼的掌柜王于贵愁眉苦脸地迎上来,“玉大人,你说我怎么就摊上这事。” “怎么了?”我有些...
    开封第一讲书人阅读 151,851评论 0 341
  • 文/不坏的土叔 我叫张陵,是天一观的道长。 经常有香客问我,道长,这世上最难降的妖魔是什么? 我笑而不...
    开封第一讲书人阅读 54,953评论 1 278
  • 正文 为了忘掉前任,我火速办了婚礼,结果婚礼上,老公的妹妹穿的比我还像新娘。我一直安慰自己,他们只是感情好,可当我...
    茶点故事阅读 63,971评论 5 369
  • 文/花漫 我一把揭开白布。 她就那样静静地躺着,像睡着了一般。 火红的嫁衣衬着肌肤如雪。 梳的纹丝不乱的头发上,一...
    开封第一讲书人阅读 48,784评论 1 283
  • 那天,我揣着相机与录音,去河边找鬼。 笑死,一个胖子当着我的面吹牛,可吹牛的内容都是我干的。 我是一名探鬼主播,决...
    沈念sama阅读 38,126评论 3 399
  • 文/苍兰香墨 我猛地睁开眼,长吁一口气:“原来是场噩梦啊……” “哼!你这毒妇竟也来了?” 一声冷哼从身侧响起,我...
    开封第一讲书人阅读 36,765评论 0 258
  • 序言:老挝万荣一对情侣失踪,失踪者是张志新(化名)和其女友刘颖,没想到半个月后,有当地人在树林里发现了一具尸体,经...
    沈念sama阅读 43,148评论 1 300
  • 正文 独居荒郊野岭守林人离奇死亡,尸身上长有42处带血的脓包…… 初始之章·张勋 以下内容为张勋视角 年9月15日...
    茶点故事阅读 35,744评论 2 323
  • 正文 我和宋清朗相恋三年,在试婚纱的时候发现自己被绿了。 大学时的朋友给我发了我未婚夫和他白月光在一起吃饭的照片。...
    茶点故事阅读 37,858评论 1 333
  • 序言:一个原本活蹦乱跳的男人离奇死亡,死状恐怖,灵堂内的尸体忽然破棺而出,到底是诈尸还是另有隐情,我是刑警宁泽,带...
    沈念sama阅读 33,479评论 4 322
  • 正文 年R本政府宣布,位于F岛的核电站,受9级特大地震影响,放射性物质发生泄漏。R本人自食恶果不足惜,却给世界环境...
    茶点故事阅读 39,080评论 3 307
  • 文/蒙蒙 一、第九天 我趴在偏房一处隐蔽的房顶上张望。 院中可真热闹,春花似锦、人声如沸。这庄子的主人今日做“春日...
    开封第一讲书人阅读 30,053评论 0 19
  • 文/苍兰香墨 我抬头看了看天上的太阳。三九已至,却和暖如春,着一层夹袄步出监牢的瞬间,已是汗流浃背。 一阵脚步声响...
    开封第一讲书人阅读 31,278评论 1 260
  • 我被黑心中介骗来泰国打工, 没想到刚下飞机就差点儿被人妖公主榨干…… 1. 我叫王不留,地道东北人。 一个月前我还...
    沈念sama阅读 45,245评论 2 352
  • 正文 我出身青楼,却偏偏与公主长得像,于是被迫代替她去往敌国和亲。 传闻我的和亲对象是个残疾皇子,可洞房花烛夜当晚...
    茶点故事阅读 42,590评论 2 343

推荐阅读更多精彩内容