I am encountering Tomcat errors:

SEVERE: org.apache.solr.common.SolrException: Error loading class 'nl.jteam.search.solrext.spatial.SpatialTierQueryParserPlugin'

My local setup is running:
OS: Centos 5.6 (RHEL)
Drupal: 6.20
Drupal module: Spatial Solr (spatialsolr): 6.x-1.x-dev
Tomcat: 6.0.29.29
JVM Version: 1.6.0_17-b17
apache-solr-1.4.1
spatial-solr-2.0-RC5

My solr/home property in /etc/tomcat6/Catalina/localhost/solr.xml points to here: /var/lib/tomcat6/solr

I copied spatial-solr-2.0-RC5.jar into this folder: /var/lib/tomcat6/webapps/solr/WEB-INF/lib

Contents of /var/lib/tomcat6/webapps/solr/WEB-INF/lib/ directory :
apache-solr-core-1.4.1.jar
apache-solr-dataimporthandler-1.4.1.jar
apache-solr-solrj-1.4.1.jar
commons-codec-1.3.jar
commons-csv-1.0-SNAPSHOT-r609327.jar
commons-fileupload-1.2.1.jar
commons-httpclient-3.1.jar
commons-io-1.4.jar
geronimo-stax-api_1.0_spec-1.0.1.jar
jcl-over-slf4j-1.5.5.jar
lucene-analyzers-2.9.3.jar
lucene-core-2.9.3.jar
lucene-highlighter-2.9.3.jar
lucene-memory-2.9.3.jar
lucene-misc-2.9.3.jar
lucene-queries-2.9.3.jar
lucene-snowball-2.9.3.jar
lucene-spellchecker-2.9.3.jar
slf4j-api-1.5.5.jar
slf4j-jdk14-1.5.5.jar
spatial-solr-2.0-RC5.jar
wstx-asl-3.2.7.jar

I have copied the xml from the patch files into my schema.xml and solrconfig.xml files.

Am I missing something else?

Any help would be greatly appreciated (versions tested with, directories and files modified, paths, etc)

Thanks!,
Eric

Comments

don_ciccio’s picture

Same problem here. Any hints?

Anonymous’s picture

Same problem here. Eric, according to your website you switched to solr 3.1 is that right ?
Do you think it will work with apache solr views ?
Did you experience any issue with this new configuration ?

Thanks

emosbaugh’s picture

i think its cause youre using spatial-solr-2.0-RC5.jar

should be using spatial-solr-1.0-RC5.jar