lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew McCombe <eupe...@gmail.com>
Subject Re: Unable to load MailEntityProcessor or org.apache.solr.handler.dataimport.MailEntityProcessor
Date Mon, 05 Apr 2010 20:15:10 GMT
Hi

Can no-one help me with this?

Andrew

On 2 April 2010 22:24, Andrew McCombe <euperia@gmail.com> wrote:
> Hi
>
> I am experimenting with Solr to index my gmail and am experiencing an error:
>
> 'Unable to load MailEntityProcessor or
> org.apache.solr.handler.dataimport.MailEntityProcessor'
>
> I downloaded a fresh 1.4 tgz, extracted it and added the following to
> example/solr/config/solrconfig.xml:
>
>
> <requestHandler name="/dataimport"
> class="org.apache.solr.handler.dataimport.DataImportHandler">
>    <lst name="defaults">
>      <str name="config">/home/andrew/bin/apache-solr-1.5-dev/example/solr/conf/email-data-config.xml</str>
>    </lst>
>  </requestHandler>
>
> email-data-config.xml containd the following:
>
> <dataConfig>
> <document name="mailindex">
>   <entity processor="MailEntityProcessor"
>           user="euperia@gmail.com"
>           password="xxxxxxxxxxxxxxxxxx"
>           host="imap.gmail.com"
>           protocol="imaps"
>           folders = "inbox"/>
> </document>
> </dataConfig>
>
> Whenever I try to import data using /dataimport?command=full-import I
> am seeing the error below:
>
> Apr 2, 2010 10:14:51 PM
> org.apache.solr.handler.dataimport.DataImporter doFullImport
> SEVERE: Full Import failed
> org.apache.solr.handler.dataimport.DataImportHandlerException: Unable
> to load EntityProcessor implementation for entity:11418758786959
> Processing Document # 1
>        at org.apache.solr.handler.dataimport.DataImportHandlerException.wrapAndThrow(DataImportHandlerException.java:72)
>        at org.apache.solr.handler.dataimport.DocBuilder.getEntityProcessor(DocBuilder.java:805)
>        at org.apache.solr.handler.dataimport.DocBuilder.buildDocument(DocBuilder.java:536)
>        at org.apache.solr.handler.dataimport.DocBuilder.doFullDump(DocBuilder.java:261)
>        at org.apache.solr.handler.dataimport.DocBuilder.execute(DocBuilder.java:185)
>        at org.apache.solr.handler.dataimport.DataImporter.doFullImport(DataImporter.java:333)
>        at org.apache.solr.handler.dataimport.DataImporter.runCmd(DataImporter.java:391)
>        at org.apache.solr.handler.dataimport.DataImporter$1.run(DataImporter.java:372)
> Caused by: java.lang.ClassNotFoundException: Unable to load
> MailEntityProcessor or
> org.apache.solr.handler.dataimport.MailEntityProcessor
>        at org.apache.solr.handler.dataimport.DocBuilder.loadClass(DocBuilder.java:966)
>        at org.apache.solr.handler.dataimport.DocBuilder.getEntityProcessor(DocBuilder.java:802)
>        ... 6 more
> Caused by: org.apache.solr.common.SolrException: Error loading class
> 'MailEntityProcessor'
>        at org.apache.solr.core.SolrResourceLoader.findClass(SolrResourceLoader.java:373)
>        at org.apache.solr.handler.dataimport.DocBuilder.loadClass(DocBuilder.java:956)
>        ... 7 more
> Caused by: java.lang.ClassNotFoundException: MailEntityProcessor
>        at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
>        at java.security.AccessController.doPrivileged(Native Method)
>        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>        at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
>        at java.net.FactoryURLClassLoader.loadClass(URLClassLoader.java:592)
>        at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
>        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
>        at java.lang.Class.forName0(Native Method)
>        at java.lang.Class.forName(Class.java:247)
>        at org.apache.solr.core.SolrResourceLoader.findClass(SolrResourceLoader.java:357)
>        ... 8 more
> Apr 2, 2010 10:14:51 PM org.apache.solr.update.DirectUpdateHandler2 rollback
> INFO: start rollback
> Apr 2, 2010 10:14:51 PM org.apache.solr.update.DirectUpdateHandler2 rollback
> INFO: end_rollback
>
>
> Am I missing a step somewhere? I have tried this with the standard
> apache 1.4, a nightly of 1.5 and also the LucidWorks release and get
> the same issue with each.  The wiki isn't very detailed either. My
> backbground isn't in Java so a lot of this is new to me.
>
>
> Regards
> Andrew McCombe
>

Mime
View raw message