Exception in thread "main" java.lang.NoSuchMethodError: org.apache.logging.log4j.Logger.debug(Ljava/lang/String;Ljava/lang/Object;)V

Welcome!

Please read this about how to format and then update your question.

Provide your pom.xml or better a simplified one so any java dev can reproduce the problem. You can share a sample project on Github so that easy to clone and reproduce.

BTW 5.6 is EOL. You should go to 6.x or better use the 7.2 version and switch to the Rest client as the Transport Client has been deprecated and will be removed in 8.x.