lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From abhishek tiwari <test.mi...@gmail.com>
Subject Re: not able to import Data through DIH solr 4.2.1
Date Thu, 19 Mar 2015 05:00:36 GMT
Alex thanks for replying
my solrconfig :

<lib dir="../../../example/lib/" regex="mysql-connector-java-.*\.jar" /> <
lib dir="../../../dist/" regex="solr-dataimporthandler-.*\.jar" />


##
<requestHandler name="/dataimport" class=
"org.apache.solr.handler.dataimport.DataImportHandler"> <lst name="defaults"
> <str name="config">data-config-new.xml</str> </lst> </requestHandler>


On Thu, Mar 19, 2015 at 10:26 AM, Alexandre Rafalovitch <arafalov@gmail.com>
wrote:

> > Could not load driver: com.mysql.jdbc.Driver
>
> Looks like a custom driver. Is the driver name correct? Is the library
> declared in solrconfig.xml? Is the library path correct (use absolute
> path if in doubt).
>
> Regards,
>    Alex.
>
> ----
> Solr Analyzers, Tokenizers, Filters, URPs and even a newsletter:
> http://www.solr-start.com/
>
>
> On 19 March 2015 at 00:35, abhishek tiwari <test.midas@gmail.com> wrote:
> > Please provide the basic steps to resolve the issue
> >
> >
> > Getting following error
> >
> > Full Import failed:java.lang.RuntimeException:
> > java.lang.RuntimeException:
> > org.apache.solr.handler.dataimport.DataImportHandlerException: Could
> > not load driver: com.mysql.jdbc.Driver Processing Document # 1
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message