On 5/15/2013 5:02 PM, PeriS wrote:
I m trying to use EmbeddedSolrServer but when trying to initialize the 
coreContainer, get the following error;
java.lang.NoClassDefFoundError: org/apache/solr/common/ResourceLoader

Did you only use the solrj jar and the jars in solrj-libs? This is enough for a solrj client to access a separate solr server, but if you want to run the full embedded server, you'll need a whole lot more jars, starting with solr-core and extending to lucene and other third-party requirements. If you extract the .war file, you'll find everything that you need in there for a basic install.

Thanks,
Shawn

Reply via email to