Hi everyone,
After fixing the error with log4j as recommended here.
I have now the following error:
Exception in thread "main" java.lang.NoSuchMethodError: io.netty.buffer.CompositeByteBuf.addComponents(ZLjava/lang/Iterable;)Lio/netty/buffer/CompositeByteBuf;
at org.elasticsearch.transport.netty4.Netty4Utils.toByteBuf(Netty4Utils.java:75)
at org.elasticsearch.transport.netty4.Netty4Transport.sendMessage(Netty4Transport.java:449)
at org.elasticsearch.transport.netty4.Netty4Transport.sendMessage(Netty4Transport.java:91)
at org.elasticsearch.transport.TcpTransport.internalSendMessage(TcpTransport.java:947)
at org.elasticsearch.transport.TcpTransport.sendRequest(TcpTransport.java:929)
at org.elasticsearch.transport.TransportService.sendRequestInternal(TransportService.java:493)
at org.elasticsearch.transport.TransportService.sendRequest(TransportService.java:459)
at org.elasticsearch.transport.TransportService.submitRequest(TransportService.java:445)
at org.elasticsearch.client.transport.TransportClientNodesService$SimpleNodeSampler.doSample(TransportClientNodesService.java:388)
at org.elasticsearch.client.transport.TransportClientNodesService$NodeSampler.sample(TransportClientNodesService.java:324)
at org.elasticsearch.client.transport.TransportClientNodesService.addTransportAddresses(TransportClientNodesService.java:191)
at org.elasticsearch.client.transport.TransportClient.addTransportAddress(TransportClient.java:282)
at sonar.db.elasticsearch.ElasticSearchIndexCreator.createIndex(ElasticSearchIndexCreator.java:33)
Thank you.