It sounds like maybe you either have not told Solr where the Solr home 
directory is, or , more likely, have not copied the jar files for this 
particular class into the right directory (typically a "lib" directory) so 
Tomcat cannot find that class.  There is other correspondence on this list that 
you can look for that discusses the options for defining the Solr home 
directory.

JRU

-----Original Message-----
From: Sina Fakhraee [mailto:dx3...@wayne.edu] 
Sent: Wednesday, October 12, 2011 4:27 PM
To: solr-user@lucene.apache.org
Subject: Error loading class 'solr.extraction.ExtractingRequestHandler'

Dear Sir/Mam,

I am trying to use curl 
"http://localhost:8080/solr/update/extract?literal.id=doc1&commit=true"; -F 
"myfile=@somefile.pdf" from the wiki site... but I get the error cause by: 
Caused by: org.apache.solr.common.SolrException: Error loading class 
'solr.extraction.ExtractingRequestHandler'

With the jetty and the provided example, I have no problem. It all happens when 
I use tomcat and solr.

My setup is as follows: 

I downloaded the apache-solr-3.3.0 and unpacked it....I am using 
"apache-solr-3.3.0" folder as my solr-home folder. Inside the "dist" folder I 
have the apache-solr-3.3.0.war and coppied everything from the 
contrib/extraction/lib into dist. 

I would greatly appreciate it if you can possibly point me to the right 
direction. I have read everything on the wiki page and the documentation but no 
luck!

regards,
Sina


-- 


Sina Fakhraee , PhD  candidate 
Department of Computer Science 
Wayne State University 
5057 Woodward Avenue 
3rd floor, Suite 3105 
Detroit, Michigan 48202 
(517)974-8437(Cell) 
http://uwerg.cs.wayne.edu/ShowPage.aspx?node=0c5b13ef-2d8e-4abd-a216-a2037d947b63&acc=1
 

Reply via email to