I have created the below sample JAVA spring boot maven application with elasticsearch which is working perfectly.
I have tried to integrate the same to an existing project using the jar files but it is throwing the exception java.lang.NoClassDefFoundError: org/elasticsearch/transport/client/PreBuiltTransportClient on runtime.
elasticsearch-6.0.0.jar
transport-6.0.0.jar
Any help is appreciated