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

but still not working

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

> Try absolute path to the jar directory. Hard to tell whether relative
> path is correct without knowing exactly how you are running it.
>
> Regards,
>     Alex.
> ----
> Solr Analyzers, Tokenizers, Filters, URPs and even a newsletter:
> http://www.solr-start.com/
>
>
> On 19 March 2015 at 01:00, abhishek tiwari <test.mi...@gmail.com> wrote:
> > 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 <
> arafa...@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.mi...@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
> >>
>

Reply via email to