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 Adeel Qureshi <ad...@gmail.com> on 2010/12/18 01:19:28 UTC

setting up solr in eclipse

This is definitely a solr-dev mailing list question but I cant get the darn
list to let me subscribe .. have subscribed several times but cant get the
confirmation email ..so i am gonna post this here

i am trying to setup solr/lucene trunk code in eclipse and after like 3 days
of figuring out things and looking up stuff and adding jars and linking
folder and all that kind of stuff .. I am down to 20 errors .. and they
seems to be of 2 types

1. there is noggit jar included in solr libs and its needed for json parsing
classes .. so I downloaded noggit-1.0-SNAPSHOT.jar .. which is the only
version I could find for it .. but it doesnt have some of the methods that
are being used in solr e.g. JSONParser.getEventString .. does anyone knows
where I can get an updated version of noggit jar

2. this is some weird error that I am getting .. a bunch of them but seem
similar ..
e.g.
The method compare(SolrTestCaseJ4.Doc, SolrTestCaseJ4.Doc) of type new
Comparator<SolrTestCaseJ4.Doc>(){} must override a superclass method
SolrTestCaseJ4.java    /solr/src/test/org/apache/solr    line 939    Java
Problem
The method compare(TestGroupingSearch.Grp, TestGroupingSearch.Grp) of type
new Comparator<TestGroupingSearch.Grp>(){} must override a superclass
method    TestGroupingSearch.java    /solr/src/test/org/apache/solr    line
547    Java Problem
any ideas what I am missing here ..

I am using eclipse 3.5 with jdk 1.6 obviously (since its solr 4.0 code) .. I
have included all the necessary jars .. except the correct version for
noggit .. linked all the source folders mentioned in solr HowToContrib wiki
,, and applied the project and classpath files from it too ..

Thanks
Adeel

Re: setting up solr in eclipse

Posted by Adeel Qureshi <ad...@gmail.com>.
never mind .. re-did all the steps with a newer version of eclipse and jdk
.. and its all looking good now ..

On Fri, Dec 17, 2010 at 6:19 PM, Adeel Qureshi <ad...@gmail.com>wrote:

> This is definitely a solr-dev mailing list question but I cant get the darn
> list to let me subscribe .. have subscribed several times but cant get the
> confirmation email ..so i am gonna post this here
>
> i am trying to setup solr/lucene trunk code in eclipse and after like 3
> days of figuring out things and looking up stuff and adding jars and linking
> folder and all that kind of stuff .. I am down to 20 errors .. and they
> seems to be of 2 types
>
> 1. there is noggit jar included in solr libs and its needed for json
> parsing classes .. so I downloaded noggit-1.0-SNAPSHOT.jar .. which is the
> only version I could find for it .. but it doesnt have some of the methods
> that are being used in solr e.g. JSONParser.getEventString .. does anyone
> knows where I can get an updated version of noggit jar
>
> 2. this is some weird error that I am getting .. a bunch of them but seem
> similar ..
> e.g.
> The method compare(SolrTestCaseJ4.Doc, SolrTestCaseJ4.Doc) of type new
> Comparator<SolrTestCaseJ4.Doc>(){} must override a superclass method
> SolrTestCaseJ4.java    /solr/src/test/org/apache/solr    line 939    Java
> Problem
> The method compare(TestGroupingSearch.Grp, TestGroupingSearch.Grp) of type
> new Comparator<TestGroupingSearch.Grp>(){} must override a superclass
> method    TestGroupingSearch.java    /solr/src/test/org/apache/solr    line
> 547    Java Problem
> any ideas what I am missing here ..
>
> I am using eclipse 3.5 with jdk 1.6 obviously (since its solr 4.0 code) ..
> I have included all the necessary jars .. except the correct version for
> noggit .. linked all the source folders mentioned in solr HowToContrib wiki
> ,, and applied the project and classpath files from it too ..
>
> Thanks
> Adeel
>
>