lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zhang, Lisheng" <Lisheng.Zh...@BroadVision.com>
Subject RE: Solr 3.6.1 ClassNotFound Exception
Date Sun, 17 Mar 2013 15:21:32 GMT
Hi Erick,

Thanks! Actually this is other people's installation and I help to
debug.

I guess is that in solrconfig.xml, the line:

<lib dir="../../dist/" regex="apache-solr-cell-\d.*\.jar" />

(or other similar line) somehow does not work , I will try to look
more.

Thanks very much for helps, Lisheng



-----Original Message-----
From: Erick Erickson [mailto:erickerickson@gmail.com]
Sent: Sunday, March 17, 2013 7:26 AM
To: solr-user@lucene.apache.org
Subject: Re: Solr 3.6.1 ClassNotFound Exception


Hmmm, you shouldn't have to go looking for this, it should just be there.
My guess is that you have some kind of classpath issue.

If you have access to a machine that has never seen Solr, or a VM, I'd try
installing a fresh copy of Solr. If that works, then you can be pretty sure
you've changed your environment (perhaps inadvertently).

Best
Erick


On Sat, Mar 16, 2013 at 10:11 AM, Zhang, Lisheng <
Lisheng.Zhang@broadvision.com> wrote:

>
> Hi,
>
> This is perhaps a trivial question but somehow I could not pin-down:
> when trying to index a file (using solr 3.6.1) I got the error:
>
> Caused by: org.apache.solr.common.SolrException: Error loading class
> 'solr.extraction.ExtractingRequestHandler'
>
> I know in solrconfig.xml we have defined
>
> ///
> <requestHandler name="/update/extract"
>                   startup="lazy"
>                   class="solr.extraction.ExtractingRequestHandler" >
> ///
>
> and the jar file should be:
>
> <SOLR_HOME>/dist/apache-solr-cell-3.6.1.jar
>
> But above jar file only have class:
>
> jar tvf apache-solr-cell-3.6.1.jar | grep ExtractingRequestHandler
>   5332 Tue Jul 17 12:45:40 PDT 2012
> org/apache/solr/handler/extraction/ExtractingRequestHandler.class
>
> Where we can find "solr.extraction.ExtractingRequestHandler" ?
>
> Thanks very much for helps, Lisheng
>

Mime
View raw message