Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have a problem using the data import handler with apache solr running on ubuntu 12.04 where it failes to load the mysql java driver with the error:

Could not load driver: com.mysql.jdbc.Driver

However I can see that it is loading the required file as during startup it outputs the following:

INFO: Adding 'file:/home/ubuntu/solr-4.1.0/contrib/dataimporthandler/lib/mysql-connector-java.jar' to classloader

So at this point I am a bit stuck... I've also tried putting the connector in the main lib/ folder for my solr setup as well but with no luck...

share|improve this question

1 Answer 1

up vote 0 down vote accepted

Solved this by adding the required java lib file to the lib folder inside the solr

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.