lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Markus Jelsma <markus.jel...@openindex.io>
Subject Re: An error I can't manage to fix: java.lang.NoClassDefFoundError: org/apache/solr/search/QParserPlugin
Date Tue, 03 May 2011 23:35:28 GMT
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

Mime
View raw message