Forum Discussion
hmb506
13 years agoOccasional Contributor
Finally resolved the issue, and here's the solution.....
Read the following SolrJ wiki to find out about all the required jars needed for your script:
http://wiki.apache.org/solr/Solrj
You will noticed in the wiki that it states clearly about the jar file compatibility of apache-solr-solrj-*.jar (any version 4.1 or 3.6.2), but currently SoapUI 4.5.1 that i have installed also have few of the jar files from the wiki page such as:
commons-codec-1.3.jar
commons-httpclient-3.1.jar
commons-io-1.3.2.jar
slf4j-api-1.5.8.jar
now all you need to download compatible versions of the following jars:
jcl-over-slf4j-*.jar
slf4j-jdk14-*.jar
& the most important apache-solr-solrj-*.jar
i have used these versions for the above jars:
slf4j-jdk14-1.5.8.jar
jcl-over-slf4j-1.5.8.jar
solr-solrj-4.1.0.jar
and now my groovy script works
thanks !!
Read the following SolrJ wiki to find out about all the required jars needed for your script:
http://wiki.apache.org/solr/Solrj
You will noticed in the wiki that it states clearly about the jar file compatibility of apache-solr-solrj-*.jar (any version 4.1 or 3.6.2), but currently SoapUI 4.5.1 that i have installed also have few of the jar files from the wiki page such as:
commons-codec-1.3.jar
commons-httpclient-3.1.jar
commons-io-1.3.2.jar
slf4j-api-1.5.8.jar
now all you need to download compatible versions of the following jars:
jcl-over-slf4j-*.jar
slf4j-jdk14-*.jar
& the most important apache-solr-solrj-*.jar
i have used these versions for the above jars:
slf4j-jdk14-1.5.8.jar
jcl-over-slf4j-1.5.8.jar
solr-solrj-4.1.0.jar
and now my groovy script works

thanks !!