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 | 3 months ago
  1. 0

    Anyone know how to solve this SolrJ error

    Stack Overflow | 3 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 | 1 year 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 | 1 year 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

  5. 0

    commons httpclient getParams NoSuchMethodError

    Google Groups | 6 years ago | kalyanasundaram s
    java.lang.NoSuchMethodError: org.apache.commons.httpclient.HttpClient.getParams()Lorg/apache/commons/httpclient/params/HttpClientParams;
  6. 0

    Axis2 exception - NoSuchMethodError

    Coderanch | 6 years ago | Lebogang Moshe
    java.lang.NoSuchMethodError: org.apache.commons.httpclient.HttpConnectionManager.getParams()Lorg/apache/commons/httpclient/params/HttpConnectionManagerParams;

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    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