You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by lovely kasi <ka...@gmail.com> on 2013/11/04 10:17:41 UTC
Re: Unable to add mahout classifier
i didnt understnad what i need to do.
Should i make any changes in the CategorizeDocumentFactory or change the
version of the solr core jars?
Thanks,
On Thu, Oct 31, 2013 at 2:35 PM, Koji Sekiguchi <ko...@r.email.ne.jp> wrote:
> Caused by: java.lang.ClassCastException: class com.mahout.solr.classifier.
>> CategorizeDocumentFactory
>> at java.lang.Class.asSubclass(Unknown Source)
>> at org.apache.solr.core.SolrResourceLoader.findClass(
>> SolrResourceLoader.java:433)
>> at org.apache.solr.core.SolrResourceLoader.findClass(
>> SolrResourceLoader.java:381)
>> at org.apache.solr.core.SolrCore.createInstance(SolrCore.java:
>> 526)
>> ... 21 more
>>
>
> There seems to be a problem related class loaders, e.g.
> CategorizeDocumentFactory
> which extends UpdateRequestProcessorFactory, loaded by class loader "B",
> but Solr core has loaded UpdateRequestProcessorFactory via class loader "A"
> or something like that...
>
> koji
> --
> http://www.rondhuit.com/
>