Hi,
I use Elastic 5.0.2 (via maven) in a web app (running on Tomcat 8.5).
Also I use Log4J 2.7.
I use the java client
new PreBuiltTransportClient(settings).addTransportAddress(inetSocketTransportAddress);
If the connection fail, I get this error
java.lang.NoSuchMethodError: org.apache.logging.log4j.core.util.Loader.loadClass(Ljava/lang/String;)Ljava/lang/Class;
at org.apache.logging.log4j.core.impl.ThrowableProxy.loadClass(ThrowableProxy.java:497)
The ThrowableProxy copy from Elastic is not the same as the one provided by Log4J 2.7
I also noticed taht in Elastic github repo ThrowableProxy is not present.
Only in the maven distribution.
Is there a workaround ?
Did I made a mistake ?
Thanks for your help
Francois