java - ClassCastException on cargo running solr with a dataimport-handler -
i'm having issues on getting solr 4.3.1 run using cargo-maven2-plugin. after fixing classpath issues, i've ended following error:
error org.apache.solr.core.corecontainer - null:org.apache.solr.common.solrexception: unable create core: collection1 @ org.apache.solr.core.corecontainer.recordandthrow(corecontainer.java:1450) @ org.apache.solr.core.corecontainer.create(corecontainer.java:993) @ org.apache.solr.core.corecontainer$2.call(corecontainer.java:597) <...> caused by: org.apache.solr.common.solrexception: requesthandler init failure @ org.apache.solr.core.solrcore.<init>(solrcore.java:821) @ org.apache.solr.core.solrcore.<init>(solrcore.java:618) @ org.apache.solr.core.corecontainer.createfromlocal(corecontainer.java:949) @ org.apache.solr.core.corecontainer.create(corecontainer.java:984) ... 10 more caused by: org.apache.solr.common.solrexception: requesthandler init failure @ org.apache.solr.core.requesthandlers.inithandlersfromconfig(requesthandlers.java:168) @ org.apache.solr.core.solrcore.<init>(solrcore.java:758) ... 13 more caused by: org.apache.solr.common.solrexception: error instantiating request handler, org.apache.solr.handler.dataimport.dataimporthandler failed instantiate org.apache.solr.request.solrrequesthandler @ org.apache.solr.core.solrcore.createinstance(solrcore.java:539) @ org.apache.solr.core.solrcore.createrequesthandler(solrcore.java:592) @ org.apache.solr.core.requesthandlers.inithandlersfromconfig(requesthandlers.java:154) ... 14 more caused by: java.lang.classcastexception: class org.apache.solr.handler.dataimport.dataimporthandler @ java.lang.class.assubclass(class.java:3037) @ org.apache.solr.core.solrresourceloader.findclass(solrresourceloader.java:448) @ org.apache.solr.core.solrresourceloader.findclass(solrresourceloader.java:396) @ org.apache.solr.core.solrcore.createinstance(solrcore.java:518) ... 16 more
i've tried tomcat7x
, jetty7x
containers. if classloader problem, can somehow force container use same classloader maven using?
going through stack trace did google search on
error instantiating request handler, \ org.apache.solr.handler.dataimport.dataimporthandler \ failed instantiate org.apache.solr.request.solrrequesthandl
and brought following question.
why can't instantiate dataimporthandler in solr on jboss?
there many answers should resolve issue.
Comments
Post a Comment