lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexandre Rafalovitch <arafa...@gmail.com>
Subject Re: not able to import Data through DIH solr 4.2.1
Date Thu, 19 Mar 2015 05:11:31 GMT
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.midas@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 <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
View raw message