Hi

Im using solr 5.4.0 while running my code i get below eroor please suggest
what has to be done

        public static void main(String[] args) throws SolrServerException,
IOException {
                
                
                String urlString = "http://localhost:8983/solr/";;
                SolrClient client = new HttpSolrClient(urlString);
}

Error :

java.lang.VerifyError: Bad type on operand stack
Exception Details:
  Location:
   
org/apache/http/impl/client/DefaultHttpClient.setDefaultHttpParams(Lorg/apache/http/params/HttpParams;)V
@4: invokestatic
  Reason:
    Type 'org/apache/http/HttpVersion' (current frame, stack[1]) is not
assignable to 'org/apache/http/ProtocolVersion'

please suggest what has to be done



--
View this message in context: 
http://lucene.472066.n3.nabble.com/error-during-running-my-code-java-lang-VerifyError-Bad-type-on-operand-stack-tp4312690.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to