PreBuiltTransportClient cannot be resolved to a type


#1

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?


(Alexander Reelsen) #2

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


#4

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.


(David Pilato) #5

Yes.


(system) #6

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