lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sachin Aggarwal <different.sac...@gmail.com>
Subject Re: error in solr.add(docs);
Date Thu, 12 Jul 2012 09:00:25 GMT
i found it error was appearing because i included a a lib file
solr-common-1.3.0.jar

On Thu, Jul 12, 2012 at 1:34 PM, Sachin Aggarwal <different.sachin@gmail.com
> wrote:

> error faced on line
>
> solrCore.add(docs);
>
> Exception in thread "main" java.lang.NoSuchMethodError:
> org.apache.solr.common.params.SolrParams.wrapDefaults(Lorg/apache/solr/common/params/SolrParams;Lorg/apache/solr/common/params/SolrParams;)Lorg/apache/solr/common/params/SolrParams;
>     at
> org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:272)
>     at
> org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:249)
>     at
> org.apache.solr.client.solrj.request.AbstractUpdateRequest.process(AbstractUpdateRequest.java:105)
>     at org.apache.solr.client.solrj.SolrServer.add(SolrServer.java:69)
>     at org.apache.solr.client.solrj.SolrServer.add(SolrServer.java:54)
>     at solr.performance.Test.add_docs(Test.java:83)
>     at solr.performance.Test.main(Test.java:103)
>
> --
>
> Thanks & Regards
>
> Sachin Aggarwal
> 7760502772
>
>


-- 

Thanks & Regards

Sachin Aggarwal
7760502772

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message