java.lang.RuntimeException: org.apache.solr.handler.dataimport.DataImportHandlerException: Could not load driver: com.mongodb.jdbc.MongoDriver Processing Document # 1

tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Error with Solr DataImporter using Mongodb

    Database Administrators | 3 years ago | Hector
    java.lang.RuntimeException: org.apache.solr.handler.dataimport.DataImportHandlerException: Could not load driver: com.mongodb.jdbc.MongoDriver Processing Document # 1

    Root Cause Analysis

    1. org.apache.solr.handler.dataimport.DataImportHandlerException

      Could not load driver: com.mongodb.jdbc.MongoDriver Processing Document # 1

      at org.apache.solr.handler.dataimport.DataImportHandlerException.wrapAndThrow()
    2. Apache Solr DataImportHandler
      DocBuilder.buildDocument
      1. org.apache.solr.handler.dataimport.DataImportHandlerException.wrapAndThrow(DataImportHandlerException.java:71)
      2. org.apache.solr.handler.dataimport.JdbcDataSource.createConnectionFactory(JdbcDataSource.java:116)
      3. org.apache.solr.handler.dataimport.JdbcDataSource.init(JdbcDataSource.java:64)
      4. org.apache.solr.handler.dataimport.DataImporter.getDataSourceInstance(DataImporter.java:383)
      5. org.apache.solr.handler.dataimport.ContextImpl.getDataSource(ContextImpl.java:99)
      6. org.apache.solr.handler.dataimport.SqlEntityProcessor.init(SqlEntityProcessor.java:53)
      7. org.apache.solr.handler.dataimport.EntityProcessorWrapper.init(EntityProcessorWrapper.java:74)
      8. org.apache.solr.handler.dataimport.DocBuilder.buildDocument(DocBuilder.java:433)
      9. org.apache.solr.handler.dataimport.DocBuilder.buildDocument(DocBuilder.java:414)
      9 frames