简体   繁体   中英

Error DataImportHandler with Oracle Database (Apache Solr)

When I try to import all the docs (binarys sources) of the Oracle Database in the solr project, the log show me this error:

 Full Import failed:java.lang.RuntimeException: java.lang.RuntimeException: org.apache.solr.handler.dataimport.DataImportHandlerException: Could not load driver: oracle.jdbc.OracleDriver Processing Document # 1

I tried to fix that but I not find any answers

  1. Check the path for the "ojdbc6.jar" file, it should be "/solr-6.1.0/server/lib"

  2. check the spelling mentioned in the data-config.xml driver="oracle.jdbc.driver.OracleDriver"

Please restart the Solr server.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM