java.lang.NoSuchMethodError: org.apache.solr.client.solrj.impl.HttpClientUtil.createClient(Lorg/apache/solr/common/params/SolrParams;)Lorg/apache/http/client/HttpClient;

Stack Overflow | Cedric.L | 7 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Anyone know how to solve this SolrJ error

    Stack Overflow | 7 months ago | Cedric.L
    java.lang.NoSuchMethodError: org.apache.solr.client.solrj.impl.HttpClientUtil.createClient(Lorg/apache/solr/common/params/SolrParams;)Lorg/apache/http/client/HttpClient;
  2. 0

    开源中国(OSChina.NET)

    oschina.net | 2 years ago
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping#0': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'kpiKLController': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.ai.rptctr.km.service.IKpiKLSvc com.ai.rptctr.km.web.KpiKLController.kpiKLSvc; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.ai.rptctr.km.service.impl.KpiKLSvcImpl': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.ai.rptctr.rptSearch.service.IKpiSearcherSvc com.ai.rptctr.km.service.impl.KpiKLSvcImpl.kpiSearcherSvc; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'rptSearch.IKpiSearcherSvc': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.ai.solr.SolrOxmClient com.ai.rptctr.rptSearch.service.impl.KpiSearchSvcImpl.server; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'kpiSolrServer' defined in class path resource [frame-spring-solr.xml]: Invocation of init method failed; nested exception is java.lang.NoSuchMethodError: org/apache/http/conn/scheme/Scheme.<init>(Ljava/lang/String;ILorg/apache/http/conn/scheme/SchemeSocketFactory;)V
  3. 0

    was6到was8迁移应用 - 开源中国社区

    oschina.net | 2 years ago
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping#0': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'kpiKLController': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.ai.rptctr.km.service.IKpiKLSvc com.ai.rptctr.km.web.KpiKLController.kpiKLSvc; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.ai.rptctr.km.service.impl.KpiKLSvcImpl': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.ai.rptctr.rptSearch.service.IKpiSearcherSvc com.ai.rptctr.km.service.impl.KpiKLSvcImpl.kpiSearcherSvc; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'rptSearch.IKpiSearcherSvc': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.ai.solr.SolrOxmClient com.ai.rptctr.rptSearch.service.impl.KpiSearchSvcImpl.server; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'kpiSolrServer' defined in class path resource [frame-spring-solr.xml]: Invocation of init method failed; nested exception is java.lang.NoSuchMethodError: org/apache/http/conn/scheme/Scheme.<init>(Ljava/lang/String;ILorg/apache/http/conn/scheme/SchemeSocketFactory;)V
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    1 unregistered visitors

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      org.apache.solr.client.solrj.impl.HttpClientUtil.createClient(Lorg/apache/solr/common/params/SolrParams;)Lorg/apache/http/client/HttpClient;

      at org.apache.solr.client.solrj.impl.HttpSolrServer.<init>()
    2. Apache Solr Solrj
      HttpSolrServer.<init>
      1. org.apache.solr.client.solrj.impl.HttpSolrServer.<init>(HttpSolrServer.java:155)
      2. org.apache.solr.client.solrj.impl.HttpSolrServer.<init>(HttpSolrServer.java:128)
      2 frames
    3. search
      SearchSolrJ.main
      1. search.SearchSolrJ.main(SearchSolrJ.java:14)
      1 frame