Lance,

I tried that but no luck. Just in case the relative paths were causing a problem, I also tried using absolute paths but neither seemed to help. First, I tried adding *<lib dir="/path/to/example/solr/lib" />* as the full directory so it would hopefully include everything. When that didn't work, I tried adding paths directly to the two Tika jar files in the Lib directory like this:
*<lib dir="/path/to/example/solr/lib/tika-core-0.4.jar" /> *and
*<lib dir="/path/to/example/solr/lib/tika-parsers-0.4.jar" />*

Am I including them incorrectly somehow?

Steve

On 3/16/2010 3:38 PM, Lance Norskog wrote:
NoClassDefFoundError usually means that the class was found, but it
needs other classes and those were not found. That is, Solr finds the
ExtractingRequestHandler jar but cannot find the Tika jars.

In example/solr/conf/slrconfig.xml, there are several '<lib
dir="path"/>' elements. These give classpath directories and jar files
to include when loading classes (and resource files). Try adding the
paths for your Tika jars as<lib/>  directives.

On Mon, Mar 15, 2010 at 9:02 PM, Steve Reichgut<sreich...@axtaweb.com>  wrote:
Sure. I've attached two docs that have the stack trace and the full list of
.jar files.

On 3/15/2010 8:34 PM, Lance Norskog wrote:
Please post the complete stack trace. Also, it will help if you make a
full listing of all .jar files in the example/ directory.

On Mon, Mar 15, 2010 at 7:12 PM, Steve Reichgut<sreich...@axtaweb.com>
  wrote:

Thanks Lance. That helped ( we are using Solr-1.4). We've run into a
follow-on error though. It is giving the following error:
ClassNotFoundException: org.apache.solr.util.plugin.SolrCoreAware

Did we miss something else in the setup?

Steve

Is there something else we haven't copied

On 3/15/2010 6:12 PM, Lance Norskog wrote:

This assumes you use the Solr-1.4 release or the Solr-1.5-dev trunk.

The ExtractingRequestHandler libraries are in contrib/extracting/lib

You need to make a directory example/solr/lib and copy into it the
apache-solr-cell jar from dist/ and all of the libraries from
contrib/extracting/lib. The Wiki page has not been updated for the
Solr 1.4 release. I just added a TODO to this effect.

On 3/12/10, Steve Reichgut<sreich...@axtaweb.com>      wrote:


Hi Grant,
Thanks for the feedback. In reading the Wiki, it recommended that you
copy everything from example/solr/libs directory into a /libs directory
in your instance. I went into my example/solr directory and only see
two
directories - "bin" and "conf". There is no "libs" directory. Where
else
can I get the contents of what should be in "libs"?

Steve

On 3/12/2010 2:15 PM, Grant Ingersoll wrote:


On Mar 12, 2010, at 2:20 PM, Steve Reichgut wrote:




Now that I have configured my Solr instance for standard indexing, I
wanted to start indexing PDF's, MS Doc's, etc. When I tried to test
it
with a simple PDF file, I got the following error:

    org.apache.solr.common.SolrException: lazy loading error
    Caused by: org.apache.solr.common.SolrException: Error loading
class
    'org.apache.solr.handler.extraction.ExtractingRequestHandler'

Based on the error, it appeared that the problem is caused by certain
components not being installed or installed correctly. Since I am not
a
Java guy, I had my Java person try to install the
ExtractingRequestHandler to no avail. He had said that he was having
real
trouble finding good documentation on how to install and enable this
handler.

Could anyone point me to good documentation on how to
install/troubleshoot this?



http://wiki.apache.org/solr/ExtractingRequestHandler

Essentially, you need to make sure the ERH stuff is in Solr/lib before
starting.

-Grant














Reply via email to