Return-Path: Delivered-To: apmail-lucene-solr-user-archive@minotaur.apache.org Received: (qmail 82162 invoked from network); 27 Apr 2009 12:09:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 27 Apr 2009 12:09:28 -0000 Received: (qmail 79993 invoked by uid 500); 27 Apr 2009 12:09:26 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 79908 invoked by uid 500); 27 Apr 2009 12:09:26 -0000 Mailing-List: contact solr-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-user@lucene.apache.org Delivered-To: mailing list solr-user@lucene.apache.org Received: (qmail 79898 invoked by uid 99); 27 Apr 2009 12:09:26 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Apr 2009 12:09:26 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of shalinmangar@gmail.com designates 209.85.221.132 as permitted sender) Received: from [209.85.221.132] (HELO mail-qy0-f132.google.com) (209.85.221.132) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Apr 2009 12:09:19 +0000 Received: by qyk38 with SMTP id 38so2015469qyk.29 for ; Mon, 27 Apr 2009 05:08:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=wfkyKgmPcAYYXhvQMNjBMkRezDkmt7SVGRGcwK1FJ80=; b=rAXV6g5HmRChxaI9snfb8Vv8XWbrqJ/T5Yn4qU9jBVWrn6bBljwiDv5yBJhvkJ/Q8k VFmOYkI7H97vA7TTmOpsarHTRagSPZ0Tfv90sFGJ245MS4Eo6E2sHIPrZU/iwpgJcjQN WKUpZPseLhLMZ9/U2HvezlGX7JI9SLS3w6q2U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=XiFrKltN15Up1L+6jj5gDmv2ZZhGMAK+ZOA3NLQD6QeSNOyr5/290X3AloHdwIasWh kmeFJciLVre1keXqOnV/jFCI8R9Ssi7F9Hd9tX4wNeI/jzturjjF2KPBhVGQjw6hkZWy LJiP+2b+PFtFHR9NZsIKhotViAGaaVYapJVfw= MIME-Version: 1.0 Received: by 10.229.94.129 with SMTP id z1mr2186927qcm.22.1240834138998; Mon, 27 Apr 2009 05:08:58 -0700 (PDT) In-Reply-To: <52adc3ba0904270423r482827f3k7ab0452afe8d2196@mail.gmail.com> References: <52adc3ba0904270300n75b620aclecdf09dc5d90bf95@mail.gmail.com> <69de18140904270325h74ee7873i136363e2c701d9f5@mail.gmail.com> <52adc3ba0904270423r482827f3k7ab0452afe8d2196@mail.gmail.com> Date: Mon, 27 Apr 2009 17:38:58 +0530 Message-ID: <69de18140904270508v37745eb3yab2ac12f45271360@mail.gmail.com> Subject: Re: How to post in-memory[not residing on local disks] Xml files to Solr server for indexing? From: Shalin Shekhar Mangar To: solr-user@lucene.apache.org Content-Type: multipart/alternative; boundary=001636426d0d1489c40468883666 X-Virus-Checked: Checked by ClamAV on apache.org --001636426d0d1489c40468883666 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit On Mon, Apr 27, 2009 at 4:53 PM, ahmed baseet 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. --001636426d0d1489c40468883666--