Try referencing the jar directly (by absolute path) with a statement
in the solrconfig.xml (and reloading the core).
The DIH example shipped with Solr shows how it works.
This will help to see if the problem with not finding the jar or something else.
Regards,
Alex.
On Wed, 9 Oct 2019 at 09:14
Try starting Solr with the “-v” option. That will echo all the jars that are
loaded and the paths.
Where _exactly_ is the jar file? You say “in the lib folder of my core”, but
that leaves a lot of room for interpretation.
Are you running stand-alone or SolrCloud? Exactly how do you start Solr?
Hi,
Kindly help me solve the issue when I am connecting NEO4j with solr. I am
facing this issue in my log file while I have the jar file of neo4j driver
in the lib folder of my core.
Full Import failed:java.lang.RuntimeException: java.lang.RuntimeException:
org.apache.solr.handler.dataimport.Data
maybe encoding !?
--
View this message in context:
http://lucene.472066.n3.nabble.com/Dataimport-Could-not-load-driver-com-mysql-jdbc-Driver-tp2021616p2027138.html
Sent from the Solr - User mailing list archive at Nabble.com.
Hi Koji
I finally found the reason for this problem:
I download the tar file of the driver and unzip it in windows. Then I put
the jar file into the server. I don' t know why, but it doesn't work. It
works when I put the tar file and unzip it in the server.
Thanks a lot for your time!!!
Richard
And here are the logs:
Dec 5, 2010 2:00:23 AM org.apache.solr.handler.dataimport.DataImportHandler
processConfiguration
INFO: Processing configuration from solrconfig.xml:
{config=db-data-config.xml}
Dec 5, 2010 2:00:23 AM org.apache.solr.handler.dataimport.DataImporter
loadDataConfig
INFO: Data
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.
(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.x