You need to add all the transitive dependencies that the Transport client needs.
You can create a simple pom.xml with elasticsearch client and then run
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.