Can anyone help me selecting the proper pom.xml file out of the bunch of *-pom.xml.templates available. I got the following when searched for pom.xml files, solr-common-csv-pom.xml solr-lucene-analyzers-pom.xml solr-lucene-contrib-pom.xml solr-lucene-*-pom.xml [ a lot of solr-lucene-... pom files are available, hence shortened to avoid typing all] solr-dataimporthandler-pom.xml solr-common-pom.xml solr-core-pom.xml solr-parent-pom.xml solr-solr-pom.xml
Thanks, Ahmed. On Mon, Apr 27, 2009 at 5:38 PM, Shalin Shekhar Mangar < shalinman...@gmail.com> wrote: > On Mon, Apr 27, 2009 at 4:53 PM, ahmed baseet <ahmed.bas...@gmail.com > >wrote: > > > > > To be precise it gives me the following error, > > .....cannot find symbol: > > symbol : class CommonsHttpSolrServer.... > > > > I rechecked to make sure that "commons-httpclient-3.1.jar" is in the > class > > path. Can someone please point me what is the issue? > > > > I'm working on Windows and my classpath variable is this: > > > > .;E:\Program Files\Java\jdk1.6.0_05\bin;D:\firefox > > > > > download\apache-solr-1.3.0\apache-solr-1.3.0\dist\solrj-lib\commons-httpclient-3.1.jar;D:\firefox > > > > > download\apache-solr-1.3.0\apache-solr-1.3.0\dist\solrj-lib\apache-solr-common.jar;D:\firefox > > > > > download\apache-solr-1.3.0\apache-solr-1.3.0\dist\solrj-lib\apache-solr-1.3.0.jar;D:\firefox > > > > > download\apache-solr-1.3.0\apache-solr-1.3.0\dist\solrj-lib\solr-solrj-1.3.0.jar;D:\firefox > > > > > download\apache-solr-1.3.0\apache-solr-1.3.0\dist\solrj-lib\commons-io-1.3.1.jar;D:\firefox > > > > > download\apache-solr-1.3.0\apache-solr-1.3.0\dist\solrj-lib\commons-codec-1.3.jar;D:\firefox > > > > > download\apache-solr-1.3.0\apache-solr-1.3.0\dist\solrj-lib\commons-logging-1.0.4.jar > > > > The jars look right. It is likely a problem with your classpath. > CommonsHttpSolrServer is in the solr-solrj jar. > > If you are using Maven, then you'd need to change your pom.xml > > -- > Regards, > Shalin Shekhar Mangar. >