Oh, I apparently figured out how to get the jar file to load, so problem is solved I suppose.
The fix seems very odd to me, but I got it from a comment on the SSP 2 blog page ( http://blog.jteam.nl/2009/08/03/geo-location-search-with-solr-and-lucene/comment-page-1/#comment-4774 ): The solution, for those of you getting the NoClassDefFoundError exception thrown, is to put the jar file in your example directory, under: solr/work/Jetty_0_0_0_0_8983_solr.war__solr__k1kf17/webapp/WEB-INF/lib/ I created that odd directory structure first, copied in the jar, and started Jetty. It looked like the jar was deleted, so I re-copied the jar into it. The second time around, everything seems to have worked. I am lost as to why its looking in that strange folder structure for the jar file, instead of ./lib or ./solr/lib. On Tue, May 3, 2011 at 4:35 PM, Markus Jelsma <markus.jel...@openindex.io>wrote: > Where did you store the jar? Is it in a directory Solr looks for libs? > Depending on your distro or set up there can be different places to store > the > jar. The easiest solution is to put it in a dir where other Solr libs are > found or in a dir that you configured in a <lib> directive in solrconfig. > > > Hello all, > > > > I've been trying to add the Spatial Search Plugin to my Solr 1.4.1 setup, > > > > and I get this error: > > > java.lang.NoClassDefFoundError: org/apache/solr/search/QParserPlugin > > > at java.lang.ClassLoader.defineClass1(Native Method) > > > > > > at java.lang.ClassLoader.defineClass(ClassLoader.java:634) > > > > > > at > > > java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) > > > > > > at java.net.URLClassLoader.defineClass(URLClassLoader.java:277) > > > > > > ... > > > Caused by: java.lang.ClassNotFoundException: > > > org.apache.solr.search.QParserPlugin > > > at java.net.URLClassLoader$1.run(URLClassLoader.java:217) > > > > > > at java.security.AccessController.doPrivileged(Native Method) > > > > > > at java.net.URLClassLoader.findClass(URLClassLoader.java:205) > > > > > > at java.lang.ClassLoader.loadClass(ClassLoader.java:321) > > > > > > at java.lang.ClassLoader.loadClass(ClassLoader.java:266) > > > > > > ... 50 more > > > > I've been trying my best with the devlopers' documentation, but I am > still > > stuck on the install phase of SSP 2.0. I wonder if there are users of > SSP > > 2 that can help me troubleshoot this, please? > > > > -Gavin >