Thanks Koji. I just tried to change the permission of the driver file to 777, still can not found the driver.
I put the driver into the folder with the original driver is and deleted the original one. I don't know why solr can find the original one (if I don't change anything), but not this one. Thanks Richard On Sun, Dec 5, 2010 at 2:46 AM, Koji Sekiguchi <k...@r.email.ne.jp> wrote: > (10/12/05 18:38), Ruixiang Zhang wrote: > >> *I got the following error for dataimport:* >> >> >> *Full Import failed >> org.apache.solr.handler.dataimport.DataImportHandlerException: Could not >> load driver: com.mysql.jdbc.Driver* >> >> I have the following files: >> >> \example-DIH\solr\db\conf\ solrconfig.xml, schema.xml, >> db-data-config.xml, >> dataimport.properties >> \example-DIH\solr\db\lib\ mysql-connector-java-5.1.13-bin.jar >> > > I guess the problem is the permission of the driver file? > > Koji > -- > http://www.rondhuit.com/en/ >