After I turned on the logging, I found the following stack trace:

Error loading class 'org.apache.solr.handler.dataimport.DataImportHandler'

Not sure why the embeddedsolrserver is looking for it...

On May 15, 2013, at 7:26 PM, PeriS <pvsub...@indiana.edu> wrote:

> Although now its complaining about even though i have provided the correct 
> core name.
> 
> org.apache.solr.common.SolrException: No such core
> 
> 
> On May 15, 2013, at 7:21 PM, PeriS <peri.subrahma...@htcinc.com> wrote:
> 
>> Actually fixed it. So by accident i was using sole-core 3.x version. Once I 
>> upgraded the version of solar-core to 4.x it got resolved. 
>> 
>> Thanks
>> -Peri.S
>> 
>> 
>> 
>> On May 15, 2013, at 7:14 PM, Shawn Heisey <s...@elyograg.org> wrote:
>> 
>>> 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
>>> 
>>> 
>>> 
>>> 
>>> 
>> 
>> 
>> 
>> *** DISCLAIMER *** This is a PRIVATE message. If you are not the intended 
>> recipient, please delete without copying and kindly advise us by e-mail of 
>> the mistake in delivery.
>> NOTE: Regardless of content, this e-mail shall not operate to bind HTC 
>> Global Services to any order or other contract unless pursuant to explicit 
>> written agreement or government initiative expressly permitting the use of 
>> e-mail for such purpose.
>> 
>> 
>> 
>> 
>> 
>> *** DISCLAIMER *** This is a PRIVATE message. If you are not the intended 
>> recipient, please delete without copying and kindly advise us by e-mail of 
>> the mistake in delivery.
>> NOTE: Regardless of content, this e-mail shall not operate to bind HTC 
>> Global Services to any order or other contract unless pursuant to explicit 
>> written agreement or government initiative expressly permitting the use of 
>> e-mail for such purpose.
>> 
>> 
>> 
> 
> 
> 
> 
> 
> 
> 



Reply via email to