PreBuiltTransportClient cannot be resolved to a type

Hi guys, I'm trying to use elasticsearch in java following the docs, only problem is the PreBuiltTransportClient cannot be found. I've already added all the jars in elasticsearch lib folder to my project. Maybe I'm missing something?

Hey, you can include the transport client dependency from this maven repo https://www.elastic.co/guide/en/elasticsearch/client/java-api/current/_maven_repository.html

Is it possible not to use maven in my project? The project is made with a RAD tool and its structure is kinda hard to convert into maven project. I downloaded the 5.1.1 zip version, It would really save me time with just adding the jars in my build path. Thank you.

Yes.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.