I setup this project on netbeans 7.1.2. and added classpath using
export
CLASSPATH=$CLASSPATH:/java/classes:/opt/libraries/elasticsearch-0.19.10/lib/elasticsearch-0.19.10.jar
I am not using maven.
On Thursday, 4 October 2012 13:55:36 UTC+5:30, David Pilato wrote:
How did you setup your project?
Do you use maven?
Is your elasticsearch*.jar in your classpath?
FYI, org.elasticsearch.client.Client exists in elasticsearch-0.19.8.jar
file
David.
Le 4 octobre 2012 à 10:10, divyanshu das <divyan...@gmail.com<javascript:>>
a écrit :
I am trying to import following packages in my .java file:-
I setup this project on netbeans 7.1.2. and added classpath using
export
CLASSPATH=$CLASSPATH:/java/classes:/opt/libraries/elasticsearch-0.19.10/lib/elasticsearch-0.19.10.jar
I am not using maven.
On Thursday, 4 October 2012 13:55:36 UTC+5:30, David Pilato wrote:
How did you setup your project?
Do you use maven?
Is your elasticsearch*.jar in your classpath?
FYI, org.elasticsearch.client.Client exists in elasticsearch-0.19.8.jar
file
> > > I am trying to import following packages in my .java file:-
import org.elasticsearch.action.index.IndexResponse;
import org.elasticsearch.client.Client;
import org.elasticsearch.client.transport.TransportClient;
import org.elasticsearch.common.transport.InetSocketTransportAddress;
I am getting error that the above mentioned packages do not exist.
Any help will be appreciated.
--
--
David Pilato
http://www.scrutmydocs.org/ <http://www.scrutmydocs.org/>
http://dev.david.pilato.fr/ <http://dev.david.pilato.fr/>
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
--
I added other dependencies and it worked. Thanks a lot.
On Thursday, 4 October 2012 17:08:16 UTC+5:30, David Pilato wrote:
Did you add all transitive dependencies?
Not sure it's your concern, but I think you should include them.
David.
Le 4 octobre 2012 à 11:28, divyanshu das <divyan...@gmail.com<javascript:>>
a écrit :
I setup this project on netbeans 7.1.2. and added classpath using
export
CLASSPATH=$CLASSPATH:/java/classes:/opt/libraries/elasticsearch-0.19.10/lib/elasticsearch-0.19.10.jar
I am not using maven.
On Thursday, 4 October 2012 13:55:36 UTC+5:30, David Pilato wrote:
How did you setup your project?
Do you use maven?
Is your elasticsearch*.jar in your classpath?
FYI, org.elasticsearch.client.Client exists in elasticsearch-0.19.8.jar
file
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.