The error you pasted doesn't seem to be related to a (class)path issue but more 
likely to be related to a Solr instance at 1.4.1/3.1.0 and Solr-UIMA module at 
3.1.0/4.0-SNAPSHOT(trunk); it seems that the error raises from 
UpdateRequestProcessorFactory API changed.
Hope this helps,
Tommaso


Il giorno 16/mag/2011, alle ore 18.54, chamara ha scritto:

> Hi Tommaso,
> Thanks for the quick reply. I had copied the lib files and
> followed instructions on http://wiki.apache.org/solr/SolrUIMA#Installation.
> However i get this error. The AnalysisEngine has the default class path
> which is /org/apache/uima/desc/.
> 
> SEVERE: org.apache.solr.common.SolrException: Error Instantiating
> UpdateRequestP
> rocessorFactory,
> org.apache.solr.uima.processor.UIMAUpdateRequestProcessorFactor
> y is not a org.apache.solr.update.processor.UpdateRequestProcessorFactory
> 
> 
> Regards,
> Chamara
> 
> 
> On Mon, May 16, 2011 at 9:17 AM, Tommaso Teofili [via Lucene] <
> ml-node+2946920-843126873-399...@n3.nabble.com> wrote:
> 
>> Hello,
>> 
>> if you want to take the descriptor from a jar, provided that you configured
>> 
>> the jar inside a <lib> element in solrconfig, then you just need to write
>> the correct classpath in the analysisEngine element.
>> For example if your descriptor resides in com/something/desc/ path inside
>> the jar then you should set the analysisEngine element as
>> /com/something/desc/descriptorname.xml
>> If you instead need to get the descriptor from filesystem try the patch in
>> SOLR-2501 [1].
>> Hope this helps,
>> Tommaso
>> 
>> [1] :  https://issues.apache.org/jira/browse/SOLR-2501
>> 
>> 2011/5/13 chamara <[hidden 
>> email]<http://user/SendEmail.jtp?type=node&node=2946920&i=0>>
>> 
>> 
>>> Hi,
>>> Is this code line 57 needs to be changed to the location where the jar
>>> files(library files) resides?
>>> URL url = this.getClass().getResource("<location of the jar files>"); I
>>> did
>>> change it but no luck so far. Let me know what i am doing wrong?
>>> 
>>> --
>>> View this message in context:
>>> 
>> http://lucene.472066.n3.nabble.com/UIMA-analysisEngine-path-tp2895284p2935541.html
>>> Sent from the Solr - User mailing list archive at Nabble.com.
>>> 
>> 
>> 
>> ------------------------------
>> If you reply to this email, your message will be added to the discussion
>> below:
>> 
>> http://lucene.472066.n3.nabble.com/UIMA-analysisEngine-path-tp2895284p2946920.html
>> To unsubscribe from UIMA analysisEngine path, click 
>> here<http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=2895284&code=Y2hhbWFyYXdAZ21haWwuY29tfDI4OTUyODR8MjY5ODM2NTMx>.
>> 
>> 
> 
> 
> 
> -- 
> --- Chamara ----
> 
> 
> --
> View this message in context: 
> http://lucene.472066.n3.nabble.com/UIMA-analysisEngine-path-tp2895284p2948760.html
> Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to