You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Andrew Nagy <an...@villanova.edu> on 2006/12/11 17:15:08 UTC

New SOLR installation problems

I installed the 12-8 snapshot of solr on my 64bit RH AS server and 
whenever I go to the admin page I get the following error:

SEVERE: Servlet.service() for servlet jsp threw exception
java.lang.NoClassDefFoundError: Could not initialize class 
org.apache.solr.core.SolrCore

Any ideas as to what is causing this?

Thanks
Andrew

Re: New SOLR installation problems

Posted by Andrew Nagy <an...@villanova.edu>.
Nevermind, I got it working now.  Had the paths setup incorrectly. 
Dumb++

Andrew

Andrew Nagy wrote:

> Thanks Yonik for the reply. I am using tomcat, and there is nothing in 
> the catalina.out file.  The access log just reports the same error I 
> see in the browser which is reported below.
> I am starting tomcat from my solr directory which has the data, bin 
> and conf directories as subdirectories.  So the CWD should be 
> correct.  I have this same setup on another server that I have been 
> working on with no problem.  Im kinda lost with this one.
> Is their a setting in the solrconfig.xml file that I should be looking 
> at?
>
> Andrew
>
> Yonik Seeley wrote:
>
>> On 12/11/06, Andrew Nagy <an...@villanova.edu> wrote:
>>
>>> I installed the 12-8 snapshot of solr on my 64bit RH AS server and
>>> whenever I go to the admin page I get the following error:
>>>
>>> SEVERE: Servlet.service() for servlet jsp threw exception
>>> java.lang.NoClassDefFoundError: Could not initialize class
>>> org.apache.solr.core.SolrCore
>>>
>>> Any ideas as to what is causing this?
>>
>>
>>
>> Look through the logs of whatever servlet container you are using for
>> the first exception thrown.  It most likely has something to do with
>> not being able to find the solr config files.
>>
>> -Yonik
>
>

Re: New SOLR installation problems

Posted by Andrew Nagy <an...@villanova.edu>.
Thanks Yonik for the reply. 
I am using tomcat, and there is nothing in the catalina.out file.  The 
access log just reports the same error I see in the browser which is 
reported below.
I am starting tomcat from my solr directory which has the data, bin and 
conf directories as subdirectories.  So the CWD should be correct.  I 
have this same setup on another server that I have been working on with 
no problem.  Im kinda lost with this one.
Is their a setting in the solrconfig.xml file that I should be looking at?

Andrew

Yonik Seeley wrote:

> On 12/11/06, Andrew Nagy <an...@villanova.edu> wrote:
>
>> I installed the 12-8 snapshot of solr on my 64bit RH AS server and
>> whenever I go to the admin page I get the following error:
>>
>> SEVERE: Servlet.service() for servlet jsp threw exception
>> java.lang.NoClassDefFoundError: Could not initialize class
>> org.apache.solr.core.SolrCore
>>
>> Any ideas as to what is causing this?
>
>
> Look through the logs of whatever servlet container you are using for
> the first exception thrown.  It most likely has something to do with
> not being able to find the solr config files.
>
> -Yonik


Re: New SOLR installation problems

Posted by Yonik Seeley <yo...@apache.org>.
On 12/11/06, Andrew Nagy <an...@villanova.edu> wrote:
> I installed the 12-8 snapshot of solr on my 64bit RH AS server and
> whenever I go to the admin page I get the following error:
>
> SEVERE: Servlet.service() for servlet jsp threw exception
> java.lang.NoClassDefFoundError: Could not initialize class
> org.apache.solr.core.SolrCore
>
> Any ideas as to what is causing this?

Look through the logs of whatever servlet container you are using for
the first exception thrown.  It most likely has something to do with
not being able to find the solr config files.

-Yonik