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 Anurag Sharma <an...@gmail.com> on 2014/10/14 21:08:02 UTC
solr trunk update.. build issues
Just wanted to check if anyone faced below issues and how they fixed:
Solr launch issue
-----------------------
>From command line ant compile, ant dist gives BUILD SUCCESSFUL
generating \solr\dist\solr-6.0.0-SNAPSHOT.war. After copying and renaming
the same file to example/start.jar on run shows below error
$ java –jar start.jar
Error: Could not find or load main class ▒jar
Problems with eclipse project
---------------------------------------
Also shows below problems in eclipse project:
Description Resource Path Location Type
Project 'trunk' is missing required library:
'solr/example/solr-webapp/webapp/WEB-INF/lib/protobuf-java-2.5.0.jar'
trunk Build
path Build Path Problem
Project 'trunk' is missing required library:
'solr/example/solr-webapp/webapp/WEB-INF/lib/solr-core-5.0.0-SNAPSHOT.jar'
trunk Build path Build Path Problem
Project 'trunk' is missing required library:
'solr/example/solr-webapp/webapp/WEB-INF/lib/org.restlet.ext.servlet-2.1.1.jar'
trunk Build path Build Path Problem
Project 'trunk' is missing required library:
'solr/example/solr-webapp/webapp/WEB-INF/lib/org.restlet-2.1.1.jar' trunk Build
path Build Path Problem
Project 'trunk' is missing required library:
'solr/example/solr-webapp/webapp/WEB-INF/lib/wstx-asl-3.2.7.jar' trunk Build
path Build Path Problem
Project 'trunk' is missing required library:
'solr/example/solr-webapp/webapp/WEB-INF/lib/zookeeper-3.4.6.jar' trunk Build
path Build Path Problem
Project 'trunk' is missing required library:
'solr/example/solr-webapp/webapp/WEB-INF/lib/solr-solrj-5.0.0-SNAPSHOT.jar'
trunk Build path Build Path Problem
Project 'trunk' is missing required library:
'solr/example/solr-webapp/webapp/WEB-INF/lib/spatial4j-0.4.1.jar' trunk Build
path Build Path Problem
The project cannot be built until build path errors are resolved trunk
Unknown Java Problem
Project 'trunk' is missing required library:
'solr/example/solr-webapp/webapp/WEB-INF/lib/lucene-analyzers-phonetic-5.0.0-SNAPSHOT.jar'
trunk Build path Build Path Problem
Project 'trunk' is missing required library:
'solr/example/solr-webapp/webapp/WEB-INF/lib/lucene-analyzers-kuromoji-5.0.0-SNAPSHOT.jar'
trunk Build path Build Path Problem
Project 'trunk' is missing required library:
'solr/example/solr-webapp/webapp/WEB-INF/lib/lucene-codecs-5.0.0-SNAPSHOT.jar'
trunk Build path Build Path Problem
Project 'trunk' is missing required library:
'solr/example/solr-webapp/webapp/WEB-INF/lib/lucene-backward-codecs-5.0.0-SNAPSHOT.jar'
trunk Build path Build Path Problem
Project 'trunk' is missing required library:
'solr/example/solr-webapp/webapp/WEB-INF/lib/lucene-expressions-5.0.0-SNAPSHOT.jar'
trunk Build path Build Path Problem
Project 'trunk' is missing required library:
'solr/example/solr-webapp/webapp/WEB-INF/lib/lucene-core-5.0.0-SNAPSHOT.jar'
trunk Build path Build Path Problem
Project 'trunk' is missing required library:
'solr/example/solr-webapp/webapp/WEB-INF/lib/lucene-highlighter-5.0.0-SNAPSHOT.jar'
trunk Build path Build Path Problem
Project 'trunk' is missing required library:
'solr/example/solr-webapp/webapp/WEB-INF/lib/lucene-grouping-5.0.0-SNAPSHOT.jar'
trunk Build path Build Path Problem
Project 'trunk' is missing required library:
'solr/example/solr-webapp/webapp/WEB-INF/lib/lucene-memory-5.0.0-SNAPSHOT.jar'
trunk Build path Build Path Problem
Project 'trunk' is missing required library:
'solr/example/solr-webapp/webapp/WEB-INF/lib/lucene-join-5.0.0-SNAPSHOT.jar'
trunk Build path Build Path Problem
Project 'trunk' is missing required library:
'solr/example/solr-webapp/webapp/WEB-INF/lib/lucene-queries-5.0.0-SNAPSHOT.jar'
trunk Build path Build Path Problem
Project 'trunk' is missing required library:
'solr/example/solr-webapp/webapp/WEB-INF/lib/lucene-misc-5.0.0-SNAPSHOT.jar'
trunk Build path Build Path Problem
Project 'trunk' is missing required library:
'solr/example/solr-webapp/webapp/WEB-INF/lib/lucene-spatial-5.0.0-SNAPSHOT.jar'
trunk Build path Build Path Problem
Project 'trunk' is missing required library:
'solr/example/solr-webapp/webapp/WEB-INF/lib/lucene-queryparser-5.0.0-SNAPSHOT.jar'
trunk Build path Build Path Problem
Project 'trunk' is missing required library:
'solr/example/solr-webapp/webapp/WEB-INF/lib/noggit-0.6.jar' trunk Build
path Build Path Problem
Project 'trunk' is missing required library:
'solr/example/solr-webapp/webapp/WEB-INF/lib/lucene-suggest-5.0.0-SNAPSHOT.jar'
trunk Build path Build Path Problem
Project 'trunk' is missing required library:
'solr/example/solr-webapp/webapp/WEB-INF/lib/commons-fileupload-1.2.1.jar'
trunk Build path Build Path Problem
Project 'trunk' is missing required library:
'solr/example/solr-webapp/webapp/WEB-INF/lib/commons-io-2.3.jar' trunk Build
path Build Path Problem
Project 'trunk' is missing required library:
'solr/example/solr-webapp/webapp/WEB-INF/lib/commons-lang-2.6.jar' trunk Build
path Build Path Problem
Project 'trunk' is missing required library:
'solr/example/solr-webapp/webapp/WEB-INF/lib/concurrentlinkedhashmap-lru-1.2.jar'
trunk Build path Build Path Problem
Project 'trunk' is missing required library:
'solr/example/solr-webapp/webapp/WEB-INF/lib/dom4j-1.6.1.jar' trunk Build
path Build Path Problem
Project 'trunk' is missing required library:
'solr/example/solr-webapp/webapp/WEB-INF/lib/guava-14.0.1.jar' trunk Build
path Build Path Problem
Project 'trunk' is missing required library:
'solr/example/solr-webapp/webapp/WEB-INF/lib/hadoop-annotations-2.2.0.jar'
trunk Build path Build Path Problem
Project 'trunk' is missing required library:
'solr/example/solr-webapp/webapp/WEB-INF/lib/hadoop-auth-2.2.0.jar' trunk Build
path Build Path Problem
Project 'trunk' is missing required library:
'solr/example/solr-webapp/webapp/WEB-INF/lib/hadoop-common-2.2.0.jar'
trunk Build
path Build Path Problem
Project 'trunk' is missing required library:
'solr/example/solr-webapp/webapp/WEB-INF/lib/hadoop-hdfs-2.2.0.jar' trunk Build
path Build Path Problem
Project 'trunk' is missing required library:
'solr/example/solr-webapp/webapp/WEB-INF/lib/hppc-0.5.2.jar' trunk Build
path Build Path Problem
Project 'trunk' is missing required library:
'solr/example/solr-webapp/webapp/WEB-INF/lib/httpclient-4.3.1.jar' trunk Build
path Build Path Problem
Project 'trunk' is missing required library:
'solr/example/solr-webapp/webapp/WEB-INF/lib/httpcore-4.3.jar' trunk Build
path Build Path Problem
Project 'trunk' is missing required library:
'solr/example/solr-webapp/webapp/WEB-INF/lib/httpmime-4.3.1.jar' trunk Build
path Build Path Problem
Project 'trunk' is missing required library:
'solr/example/solr-webapp/webapp/WEB-INF/lib/joda-time-2.2.jar' trunk Build
path Build Path Problem
Project 'trunk' is missing required library:
'solr/example/solr-webapp/webapp/WEB-INF/lib/lucene-analyzers-common-5.0.0-SNAPSHOT.jar'
trunk Build path Build Path Problem
Re: solr trunk update.. build issues
Posted by Anurag Sharma <an...@gmail.com>.
I am able to launch solr example start.jar using: java –jar start.jar
The eclipse issue is also resolved now, looks like eclipse was taking time
to process all the files and was an intermittent issue. Now am able to run
the selected JUnits as well.
On Wed, Oct 15, 2014 at 1:06 AM, Anurag Sharma <an...@gmail.com> wrote:
> Hi Shalin,
>
> Sorry about the typo, actually it's renaming the war file(
> \solr\dist\solr-6.0.0-SNAPSHOT.war) placed to
> \trunk\solr\example\webapps\solr.war as referred in last point of step7 in
> http://wiki.apache.org/solr/HowToCompileSolr
> I'll also refer and try
> https://cwiki.apache.org/confluence/display/solr/Running+Solr
>
> Regarding problem#2, on running "ant eclipse" at /trunk (top level
> directory for lucene & solr) and closing/opening the project removes all
> the problems in the project but eclipse is not able to show the modified
> file though it still exist. I need to explore more to find the root cause.
>
> Thanks for the quick response.
> Anurag
>
>
> On Wed, Oct 15, 2014 at 12:51 AM, Shalin Shekhar Mangar <
> shalinmangar@gmail.com> wrote:
>
>> On Wed, Oct 15, 2014 at 12:38 AM, Anurag Sharma <an...@gmail.com>
>> wrote:
>>
>> > Just wanted to check if anyone faced below issues and how they fixed:
>> >
>> > Solr launch issue
>> > -----------------------
>> > From command line ant compile, ant dist gives BUILD SUCCESSFUL
>> > generating \solr\dist\solr-6.0.0-SNAPSHOT.war. After copying and
>> renaming
>> > the same file to example/start.jar on run shows below error
>> > $ java –jar start.jar
>> > Error: Could not find or load main class ▒jar
>> >
>> >
>> The start.jar contains the jetty bootstrap code. It is different from the
>> war file and you shouldn't rename it to start.jar. You can use "ant
>> example" from inside the solr directory to create a runnable example. You
>> can also run "ant example" followed by the using the bin scripts to start
>> Solr. See https://cwiki.apache.org/confluence/display/solr/Running+Solr
>>
>>
>> > Problems with eclipse project
>> > ---------------------------------------
>> > Also shows below problems in eclipse project:
>> > Description Resource Path Location Type
>> > Project 'trunk' is missing required library:
>> > 'solr/example/solr-webapp/webapp/WEB-INF/lib/protobuf-java-2.5.0.jar'
>> > trunk Build
>> > path Build Path Problem
>> > Project 'trunk' is missing required library:
>> >
>> 'solr/example/solr-webapp/webapp/WEB-INF/lib/solr-core-5.0.0-SNAPSHOT.jar'
>> > trunk Build path Build Path Problem
>> > Project 'trunk' is missing required library:
>> >
>> >
>> 'solr/example/solr-webapp/webapp/WEB-INF/lib/org.restlet.ext.servlet-2.1.1.jar'
>> > trunk Build path Build Path Problem
>> > Project 'trunk' is missing required library:
>> > 'solr/example/solr-webapp/webapp/WEB-INF/lib/org.restlet-2.1.1.jar'
>> trunk
>> > Build
>> > path Build Path Problem
>> > Project 'trunk' is missing required library:
>> > 'solr/example/solr-webapp/webapp/WEB-INF/lib/wstx-asl-3.2.7.jar' trunk
>> > Build
>> > path Build Path Problem
>> > Project 'trunk' is missing required library:
>> > 'solr/example/solr-webapp/webapp/WEB-INF/lib/zookeeper-3.4.6.jar' trunk
>> > Build
>> > path Build Path Problem
>> > Project 'trunk' is missing required library:
>> >
>> 'solr/example/solr-webapp/webapp/WEB-INF/lib/solr-solrj-5.0.0-SNAPSHOT.jar'
>> > trunk Build path Build Path Problem
>> > Project 'trunk' is missing required library:
>> > 'solr/example/solr-webapp/webapp/WEB-INF/lib/spatial4j-0.4.1.jar' trunk
>> > Build
>> > path Build Path Problem
>> > The project cannot be built until build path errors are resolved trunk
>> > Unknown Java Problem
>> > Project 'trunk' is missing required library:
>> >
>> >
>> 'solr/example/solr-webapp/webapp/WEB-INF/lib/lucene-analyzers-phonetic-5.0.0-SNAPSHOT.jar'
>> > trunk Build path Build Path Problem
>> > Project 'trunk' is missing required library:
>> >
>> >
>> 'solr/example/solr-webapp/webapp/WEB-INF/lib/lucene-analyzers-kuromoji-5.0.0-SNAPSHOT.jar'
>> > trunk Build path Build Path Problem
>> > Project 'trunk' is missing required library:
>> >
>> >
>> 'solr/example/solr-webapp/webapp/WEB-INF/lib/lucene-codecs-5.0.0-SNAPSHOT.jar'
>> > trunk Build path Build Path Problem
>> > Project 'trunk' is missing required library:
>> >
>> >
>> 'solr/example/solr-webapp/webapp/WEB-INF/lib/lucene-backward-codecs-5.0.0-SNAPSHOT.jar'
>> > trunk Build path Build Path Problem
>> > Project 'trunk' is missing required library:
>> >
>> >
>> 'solr/example/solr-webapp/webapp/WEB-INF/lib/lucene-expressions-5.0.0-SNAPSHOT.jar'
>> > trunk Build path Build Path Problem
>> > Project 'trunk' is missing required library:
>> >
>> >
>> 'solr/example/solr-webapp/webapp/WEB-INF/lib/lucene-core-5.0.0-SNAPSHOT.jar'
>> > trunk Build path Build Path Problem
>> > Project 'trunk' is missing required library:
>> >
>> >
>> 'solr/example/solr-webapp/webapp/WEB-INF/lib/lucene-highlighter-5.0.0-SNAPSHOT.jar'
>> > trunk Build path Build Path Problem
>> > Project 'trunk' is missing required library:
>> >
>> >
>> 'solr/example/solr-webapp/webapp/WEB-INF/lib/lucene-grouping-5.0.0-SNAPSHOT.jar'
>> > trunk Build path Build Path Problem
>> > Project 'trunk' is missing required library:
>> >
>> >
>> 'solr/example/solr-webapp/webapp/WEB-INF/lib/lucene-memory-5.0.0-SNAPSHOT.jar'
>> > trunk Build path Build Path Problem
>> > Project 'trunk' is missing required library:
>> >
>> >
>> 'solr/example/solr-webapp/webapp/WEB-INF/lib/lucene-join-5.0.0-SNAPSHOT.jar'
>> > trunk Build path Build Path Problem
>> > Project 'trunk' is missing required library:
>> >
>> >
>> 'solr/example/solr-webapp/webapp/WEB-INF/lib/lucene-queries-5.0.0-SNAPSHOT.jar'
>> > trunk Build path Build Path Problem
>> > Project 'trunk' is missing required library:
>> >
>> >
>> 'solr/example/solr-webapp/webapp/WEB-INF/lib/lucene-misc-5.0.0-SNAPSHOT.jar'
>> > trunk Build path Build Path Problem
>> > Project 'trunk' is missing required library:
>> >
>> >
>> 'solr/example/solr-webapp/webapp/WEB-INF/lib/lucene-spatial-5.0.0-SNAPSHOT.jar'
>> > trunk Build path Build Path Problem
>> > Project 'trunk' is missing required library:
>> >
>> >
>> 'solr/example/solr-webapp/webapp/WEB-INF/lib/lucene-queryparser-5.0.0-SNAPSHOT.jar'
>> > trunk Build path Build Path Problem
>> > Project 'trunk' is missing required library:
>> > 'solr/example/solr-webapp/webapp/WEB-INF/lib/noggit-0.6.jar' trunk Build
>> > path Build Path Problem
>> > Project 'trunk' is missing required library:
>> >
>> >
>> 'solr/example/solr-webapp/webapp/WEB-INF/lib/lucene-suggest-5.0.0-SNAPSHOT.jar'
>> > trunk Build path Build Path Problem
>> > Project 'trunk' is missing required library:
>> >
>> 'solr/example/solr-webapp/webapp/WEB-INF/lib/commons-fileupload-1.2.1.jar'
>> > trunk Build path Build Path Problem
>> > Project 'trunk' is missing required library:
>> > 'solr/example/solr-webapp/webapp/WEB-INF/lib/commons-io-2.3.jar' trunk
>> > Build
>> > path Build Path Problem
>> > Project 'trunk' is missing required library:
>> > 'solr/example/solr-webapp/webapp/WEB-INF/lib/commons-lang-2.6.jar' trunk
>> > Build
>> > path Build Path Problem
>> > Project 'trunk' is missing required library:
>> >
>> >
>> 'solr/example/solr-webapp/webapp/WEB-INF/lib/concurrentlinkedhashmap-lru-1.2.jar'
>> > trunk Build path Build Path Problem
>> > Project 'trunk' is missing required library:
>> > 'solr/example/solr-webapp/webapp/WEB-INF/lib/dom4j-1.6.1.jar' trunk
>> Build
>> > path Build Path Problem
>> > Project 'trunk' is missing required library:
>> > 'solr/example/solr-webapp/webapp/WEB-INF/lib/guava-14.0.1.jar' trunk
>> Build
>> > path Build Path Problem
>> > Project 'trunk' is missing required library:
>> >
>> 'solr/example/solr-webapp/webapp/WEB-INF/lib/hadoop-annotations-2.2.0.jar'
>> > trunk Build path Build Path Problem
>> > Project 'trunk' is missing required library:
>> > 'solr/example/solr-webapp/webapp/WEB-INF/lib/hadoop-auth-2.2.0.jar'
>> trunk
>> > Build
>> > path Build Path Problem
>> > Project 'trunk' is missing required library:
>> > 'solr/example/solr-webapp/webapp/WEB-INF/lib/hadoop-common-2.2.0.jar'
>> > trunk Build
>> > path Build Path Problem
>> > Project 'trunk' is missing required library:
>> > 'solr/example/solr-webapp/webapp/WEB-INF/lib/hadoop-hdfs-2.2.0.jar'
>> trunk
>> > Build
>> > path Build Path Problem
>> > Project 'trunk' is missing required library:
>> > 'solr/example/solr-webapp/webapp/WEB-INF/lib/hppc-0.5.2.jar' trunk Build
>> > path Build Path Problem
>> > Project 'trunk' is missing required library:
>> > 'solr/example/solr-webapp/webapp/WEB-INF/lib/httpclient-4.3.1.jar' trunk
>> > Build
>> > path Build Path Problem
>> > Project 'trunk' is missing required library:
>> > 'solr/example/solr-webapp/webapp/WEB-INF/lib/httpcore-4.3.jar' trunk
>> Build
>> > path Build Path Problem
>> > Project 'trunk' is missing required library:
>> > 'solr/example/solr-webapp/webapp/WEB-INF/lib/httpmime-4.3.1.jar' trunk
>> > Build
>> > path Build Path Problem
>> > Project 'trunk' is missing required library:
>> > 'solr/example/solr-webapp/webapp/WEB-INF/lib/joda-time-2.2.jar' trunk
>> Build
>> > path Build Path Problem
>> > Project 'trunk' is missing required library:
>> >
>> >
>> 'solr/example/solr-webapp/webapp/WEB-INF/lib/lucene-analyzers-common-5.0.0-SNAPSHOT.jar'
>> > trunk Build path Build Path Problem
>> >
>>
>>
>>
>> --
>> Regards,
>> Shalin Shekhar Mangar.
>>
>
>
Re: solr trunk update.. build issues
Posted by Anurag Sharma <an...@gmail.com>.
Hi Shalin,
Sorry about the typo, actually it's renaming the war file(
\solr\dist\solr-6.0.0-SNAPSHOT.war) placed to
\trunk\solr\example\webapps\solr.war as referred in last point of step7 in
http://wiki.apache.org/solr/HowToCompileSolr
I'll also refer and try
https://cwiki.apache.org/confluence/display/solr/Running+Solr
Regarding problem#2, on running "ant eclipse" at /trunk (top level
directory for lucene & solr) and closing/opening the project removes all
the problems in the project but eclipse is not able to show the modified
file though it still exist. I need to explore more to find the root cause.
Thanks for the quick response.
Anurag
On Wed, Oct 15, 2014 at 12:51 AM, Shalin Shekhar Mangar <
shalinmangar@gmail.com> wrote:
> On Wed, Oct 15, 2014 at 12:38 AM, Anurag Sharma <an...@gmail.com>
> wrote:
>
> > Just wanted to check if anyone faced below issues and how they fixed:
> >
> > Solr launch issue
> > -----------------------
> > From command line ant compile, ant dist gives BUILD SUCCESSFUL
> > generating \solr\dist\solr-6.0.0-SNAPSHOT.war. After copying and renaming
> > the same file to example/start.jar on run shows below error
> > $ java –jar start.jar
> > Error: Could not find or load main class ▒jar
> >
> >
> The start.jar contains the jetty bootstrap code. It is different from the
> war file and you shouldn't rename it to start.jar. You can use "ant
> example" from inside the solr directory to create a runnable example. You
> can also run "ant example" followed by the using the bin scripts to start
> Solr. See https://cwiki.apache.org/confluence/display/solr/Running+Solr
>
>
> > Problems with eclipse project
> > ---------------------------------------
> > Also shows below problems in eclipse project:
> > Description Resource Path Location Type
> > Project 'trunk' is missing required library:
> > 'solr/example/solr-webapp/webapp/WEB-INF/lib/protobuf-java-2.5.0.jar'
> > trunk Build
> > path Build Path Problem
> > Project 'trunk' is missing required library:
> >
> 'solr/example/solr-webapp/webapp/WEB-INF/lib/solr-core-5.0.0-SNAPSHOT.jar'
> > trunk Build path Build Path Problem
> > Project 'trunk' is missing required library:
> >
> >
> 'solr/example/solr-webapp/webapp/WEB-INF/lib/org.restlet.ext.servlet-2.1.1.jar'
> > trunk Build path Build Path Problem
> > Project 'trunk' is missing required library:
> > 'solr/example/solr-webapp/webapp/WEB-INF/lib/org.restlet-2.1.1.jar' trunk
> > Build
> > path Build Path Problem
> > Project 'trunk' is missing required library:
> > 'solr/example/solr-webapp/webapp/WEB-INF/lib/wstx-asl-3.2.7.jar' trunk
> > Build
> > path Build Path Problem
> > Project 'trunk' is missing required library:
> > 'solr/example/solr-webapp/webapp/WEB-INF/lib/zookeeper-3.4.6.jar' trunk
> > Build
> > path Build Path Problem
> > Project 'trunk' is missing required library:
> >
> 'solr/example/solr-webapp/webapp/WEB-INF/lib/solr-solrj-5.0.0-SNAPSHOT.jar'
> > trunk Build path Build Path Problem
> > Project 'trunk' is missing required library:
> > 'solr/example/solr-webapp/webapp/WEB-INF/lib/spatial4j-0.4.1.jar' trunk
> > Build
> > path Build Path Problem
> > The project cannot be built until build path errors are resolved trunk
> > Unknown Java Problem
> > Project 'trunk' is missing required library:
> >
> >
> 'solr/example/solr-webapp/webapp/WEB-INF/lib/lucene-analyzers-phonetic-5.0.0-SNAPSHOT.jar'
> > trunk Build path Build Path Problem
> > Project 'trunk' is missing required library:
> >
> >
> 'solr/example/solr-webapp/webapp/WEB-INF/lib/lucene-analyzers-kuromoji-5.0.0-SNAPSHOT.jar'
> > trunk Build path Build Path Problem
> > Project 'trunk' is missing required library:
> >
> >
> 'solr/example/solr-webapp/webapp/WEB-INF/lib/lucene-codecs-5.0.0-SNAPSHOT.jar'
> > trunk Build path Build Path Problem
> > Project 'trunk' is missing required library:
> >
> >
> 'solr/example/solr-webapp/webapp/WEB-INF/lib/lucene-backward-codecs-5.0.0-SNAPSHOT.jar'
> > trunk Build path Build Path Problem
> > Project 'trunk' is missing required library:
> >
> >
> 'solr/example/solr-webapp/webapp/WEB-INF/lib/lucene-expressions-5.0.0-SNAPSHOT.jar'
> > trunk Build path Build Path Problem
> > Project 'trunk' is missing required library:
> >
> >
> 'solr/example/solr-webapp/webapp/WEB-INF/lib/lucene-core-5.0.0-SNAPSHOT.jar'
> > trunk Build path Build Path Problem
> > Project 'trunk' is missing required library:
> >
> >
> 'solr/example/solr-webapp/webapp/WEB-INF/lib/lucene-highlighter-5.0.0-SNAPSHOT.jar'
> > trunk Build path Build Path Problem
> > Project 'trunk' is missing required library:
> >
> >
> 'solr/example/solr-webapp/webapp/WEB-INF/lib/lucene-grouping-5.0.0-SNAPSHOT.jar'
> > trunk Build path Build Path Problem
> > Project 'trunk' is missing required library:
> >
> >
> 'solr/example/solr-webapp/webapp/WEB-INF/lib/lucene-memory-5.0.0-SNAPSHOT.jar'
> > trunk Build path Build Path Problem
> > Project 'trunk' is missing required library:
> >
> >
> 'solr/example/solr-webapp/webapp/WEB-INF/lib/lucene-join-5.0.0-SNAPSHOT.jar'
> > trunk Build path Build Path Problem
> > Project 'trunk' is missing required library:
> >
> >
> 'solr/example/solr-webapp/webapp/WEB-INF/lib/lucene-queries-5.0.0-SNAPSHOT.jar'
> > trunk Build path Build Path Problem
> > Project 'trunk' is missing required library:
> >
> >
> 'solr/example/solr-webapp/webapp/WEB-INF/lib/lucene-misc-5.0.0-SNAPSHOT.jar'
> > trunk Build path Build Path Problem
> > Project 'trunk' is missing required library:
> >
> >
> 'solr/example/solr-webapp/webapp/WEB-INF/lib/lucene-spatial-5.0.0-SNAPSHOT.jar'
> > trunk Build path Build Path Problem
> > Project 'trunk' is missing required library:
> >
> >
> 'solr/example/solr-webapp/webapp/WEB-INF/lib/lucene-queryparser-5.0.0-SNAPSHOT.jar'
> > trunk Build path Build Path Problem
> > Project 'trunk' is missing required library:
> > 'solr/example/solr-webapp/webapp/WEB-INF/lib/noggit-0.6.jar' trunk Build
> > path Build Path Problem
> > Project 'trunk' is missing required library:
> >
> >
> 'solr/example/solr-webapp/webapp/WEB-INF/lib/lucene-suggest-5.0.0-SNAPSHOT.jar'
> > trunk Build path Build Path Problem
> > Project 'trunk' is missing required library:
> >
> 'solr/example/solr-webapp/webapp/WEB-INF/lib/commons-fileupload-1.2.1.jar'
> > trunk Build path Build Path Problem
> > Project 'trunk' is missing required library:
> > 'solr/example/solr-webapp/webapp/WEB-INF/lib/commons-io-2.3.jar' trunk
> > Build
> > path Build Path Problem
> > Project 'trunk' is missing required library:
> > 'solr/example/solr-webapp/webapp/WEB-INF/lib/commons-lang-2.6.jar' trunk
> > Build
> > path Build Path Problem
> > Project 'trunk' is missing required library:
> >
> >
> 'solr/example/solr-webapp/webapp/WEB-INF/lib/concurrentlinkedhashmap-lru-1.2.jar'
> > trunk Build path Build Path Problem
> > Project 'trunk' is missing required library:
> > 'solr/example/solr-webapp/webapp/WEB-INF/lib/dom4j-1.6.1.jar' trunk Build
> > path Build Path Problem
> > Project 'trunk' is missing required library:
> > 'solr/example/solr-webapp/webapp/WEB-INF/lib/guava-14.0.1.jar' trunk
> Build
> > path Build Path Problem
> > Project 'trunk' is missing required library:
> >
> 'solr/example/solr-webapp/webapp/WEB-INF/lib/hadoop-annotations-2.2.0.jar'
> > trunk Build path Build Path Problem
> > Project 'trunk' is missing required library:
> > 'solr/example/solr-webapp/webapp/WEB-INF/lib/hadoop-auth-2.2.0.jar' trunk
> > Build
> > path Build Path Problem
> > Project 'trunk' is missing required library:
> > 'solr/example/solr-webapp/webapp/WEB-INF/lib/hadoop-common-2.2.0.jar'
> > trunk Build
> > path Build Path Problem
> > Project 'trunk' is missing required library:
> > 'solr/example/solr-webapp/webapp/WEB-INF/lib/hadoop-hdfs-2.2.0.jar' trunk
> > Build
> > path Build Path Problem
> > Project 'trunk' is missing required library:
> > 'solr/example/solr-webapp/webapp/WEB-INF/lib/hppc-0.5.2.jar' trunk Build
> > path Build Path Problem
> > Project 'trunk' is missing required library:
> > 'solr/example/solr-webapp/webapp/WEB-INF/lib/httpclient-4.3.1.jar' trunk
> > Build
> > path Build Path Problem
> > Project 'trunk' is missing required library:
> > 'solr/example/solr-webapp/webapp/WEB-INF/lib/httpcore-4.3.jar' trunk
> Build
> > path Build Path Problem
> > Project 'trunk' is missing required library:
> > 'solr/example/solr-webapp/webapp/WEB-INF/lib/httpmime-4.3.1.jar' trunk
> > Build
> > path Build Path Problem
> > Project 'trunk' is missing required library:
> > 'solr/example/solr-webapp/webapp/WEB-INF/lib/joda-time-2.2.jar' trunk
> Build
> > path Build Path Problem
> > Project 'trunk' is missing required library:
> >
> >
> 'solr/example/solr-webapp/webapp/WEB-INF/lib/lucene-analyzers-common-5.0.0-SNAPSHOT.jar'
> > trunk Build path Build Path Problem
> >
>
>
>
> --
> Regards,
> Shalin Shekhar Mangar.
>
Re: solr trunk update.. build issues
Posted by Shalin Shekhar Mangar <sh...@gmail.com>.
On Wed, Oct 15, 2014 at 12:38 AM, Anurag Sharma <an...@gmail.com> wrote:
> Just wanted to check if anyone faced below issues and how they fixed:
>
> Solr launch issue
> -----------------------
> From command line ant compile, ant dist gives BUILD SUCCESSFUL
> generating \solr\dist\solr-6.0.0-SNAPSHOT.war. After copying and renaming
> the same file to example/start.jar on run shows below error
> $ java –jar start.jar
> Error: Could not find or load main class ▒jar
>
>
The start.jar contains the jetty bootstrap code. It is different from the
war file and you shouldn't rename it to start.jar. You can use "ant
example" from inside the solr directory to create a runnable example. You
can also run "ant example" followed by the using the bin scripts to start
Solr. See https://cwiki.apache.org/confluence/display/solr/Running+Solr
> Problems with eclipse project
> ---------------------------------------
> Also shows below problems in eclipse project:
> Description Resource Path Location Type
> Project 'trunk' is missing required library:
> 'solr/example/solr-webapp/webapp/WEB-INF/lib/protobuf-java-2.5.0.jar'
> trunk Build
> path Build Path Problem
> Project 'trunk' is missing required library:
> 'solr/example/solr-webapp/webapp/WEB-INF/lib/solr-core-5.0.0-SNAPSHOT.jar'
> trunk Build path Build Path Problem
> Project 'trunk' is missing required library:
>
> 'solr/example/solr-webapp/webapp/WEB-INF/lib/org.restlet.ext.servlet-2.1.1.jar'
> trunk Build path Build Path Problem
> Project 'trunk' is missing required library:
> 'solr/example/solr-webapp/webapp/WEB-INF/lib/org.restlet-2.1.1.jar' trunk
> Build
> path Build Path Problem
> Project 'trunk' is missing required library:
> 'solr/example/solr-webapp/webapp/WEB-INF/lib/wstx-asl-3.2.7.jar' trunk
> Build
> path Build Path Problem
> Project 'trunk' is missing required library:
> 'solr/example/solr-webapp/webapp/WEB-INF/lib/zookeeper-3.4.6.jar' trunk
> Build
> path Build Path Problem
> Project 'trunk' is missing required library:
> 'solr/example/solr-webapp/webapp/WEB-INF/lib/solr-solrj-5.0.0-SNAPSHOT.jar'
> trunk Build path Build Path Problem
> Project 'trunk' is missing required library:
> 'solr/example/solr-webapp/webapp/WEB-INF/lib/spatial4j-0.4.1.jar' trunk
> Build
> path Build Path Problem
> The project cannot be built until build path errors are resolved trunk
> Unknown Java Problem
> Project 'trunk' is missing required library:
>
> 'solr/example/solr-webapp/webapp/WEB-INF/lib/lucene-analyzers-phonetic-5.0.0-SNAPSHOT.jar'
> trunk Build path Build Path Problem
> Project 'trunk' is missing required library:
>
> 'solr/example/solr-webapp/webapp/WEB-INF/lib/lucene-analyzers-kuromoji-5.0.0-SNAPSHOT.jar'
> trunk Build path Build Path Problem
> Project 'trunk' is missing required library:
>
> 'solr/example/solr-webapp/webapp/WEB-INF/lib/lucene-codecs-5.0.0-SNAPSHOT.jar'
> trunk Build path Build Path Problem
> Project 'trunk' is missing required library:
>
> 'solr/example/solr-webapp/webapp/WEB-INF/lib/lucene-backward-codecs-5.0.0-SNAPSHOT.jar'
> trunk Build path Build Path Problem
> Project 'trunk' is missing required library:
>
> 'solr/example/solr-webapp/webapp/WEB-INF/lib/lucene-expressions-5.0.0-SNAPSHOT.jar'
> trunk Build path Build Path Problem
> Project 'trunk' is missing required library:
>
> 'solr/example/solr-webapp/webapp/WEB-INF/lib/lucene-core-5.0.0-SNAPSHOT.jar'
> trunk Build path Build Path Problem
> Project 'trunk' is missing required library:
>
> 'solr/example/solr-webapp/webapp/WEB-INF/lib/lucene-highlighter-5.0.0-SNAPSHOT.jar'
> trunk Build path Build Path Problem
> Project 'trunk' is missing required library:
>
> 'solr/example/solr-webapp/webapp/WEB-INF/lib/lucene-grouping-5.0.0-SNAPSHOT.jar'
> trunk Build path Build Path Problem
> Project 'trunk' is missing required library:
>
> 'solr/example/solr-webapp/webapp/WEB-INF/lib/lucene-memory-5.0.0-SNAPSHOT.jar'
> trunk Build path Build Path Problem
> Project 'trunk' is missing required library:
>
> 'solr/example/solr-webapp/webapp/WEB-INF/lib/lucene-join-5.0.0-SNAPSHOT.jar'
> trunk Build path Build Path Problem
> Project 'trunk' is missing required library:
>
> 'solr/example/solr-webapp/webapp/WEB-INF/lib/lucene-queries-5.0.0-SNAPSHOT.jar'
> trunk Build path Build Path Problem
> Project 'trunk' is missing required library:
>
> 'solr/example/solr-webapp/webapp/WEB-INF/lib/lucene-misc-5.0.0-SNAPSHOT.jar'
> trunk Build path Build Path Problem
> Project 'trunk' is missing required library:
>
> 'solr/example/solr-webapp/webapp/WEB-INF/lib/lucene-spatial-5.0.0-SNAPSHOT.jar'
> trunk Build path Build Path Problem
> Project 'trunk' is missing required library:
>
> 'solr/example/solr-webapp/webapp/WEB-INF/lib/lucene-queryparser-5.0.0-SNAPSHOT.jar'
> trunk Build path Build Path Problem
> Project 'trunk' is missing required library:
> 'solr/example/solr-webapp/webapp/WEB-INF/lib/noggit-0.6.jar' trunk Build
> path Build Path Problem
> Project 'trunk' is missing required library:
>
> 'solr/example/solr-webapp/webapp/WEB-INF/lib/lucene-suggest-5.0.0-SNAPSHOT.jar'
> trunk Build path Build Path Problem
> Project 'trunk' is missing required library:
> 'solr/example/solr-webapp/webapp/WEB-INF/lib/commons-fileupload-1.2.1.jar'
> trunk Build path Build Path Problem
> Project 'trunk' is missing required library:
> 'solr/example/solr-webapp/webapp/WEB-INF/lib/commons-io-2.3.jar' trunk
> Build
> path Build Path Problem
> Project 'trunk' is missing required library:
> 'solr/example/solr-webapp/webapp/WEB-INF/lib/commons-lang-2.6.jar' trunk
> Build
> path Build Path Problem
> Project 'trunk' is missing required library:
>
> 'solr/example/solr-webapp/webapp/WEB-INF/lib/concurrentlinkedhashmap-lru-1.2.jar'
> trunk Build path Build Path Problem
> Project 'trunk' is missing required library:
> 'solr/example/solr-webapp/webapp/WEB-INF/lib/dom4j-1.6.1.jar' trunk Build
> path Build Path Problem
> Project 'trunk' is missing required library:
> 'solr/example/solr-webapp/webapp/WEB-INF/lib/guava-14.0.1.jar' trunk Build
> path Build Path Problem
> Project 'trunk' is missing required library:
> 'solr/example/solr-webapp/webapp/WEB-INF/lib/hadoop-annotations-2.2.0.jar'
> trunk Build path Build Path Problem
> Project 'trunk' is missing required library:
> 'solr/example/solr-webapp/webapp/WEB-INF/lib/hadoop-auth-2.2.0.jar' trunk
> Build
> path Build Path Problem
> Project 'trunk' is missing required library:
> 'solr/example/solr-webapp/webapp/WEB-INF/lib/hadoop-common-2.2.0.jar'
> trunk Build
> path Build Path Problem
> Project 'trunk' is missing required library:
> 'solr/example/solr-webapp/webapp/WEB-INF/lib/hadoop-hdfs-2.2.0.jar' trunk
> Build
> path Build Path Problem
> Project 'trunk' is missing required library:
> 'solr/example/solr-webapp/webapp/WEB-INF/lib/hppc-0.5.2.jar' trunk Build
> path Build Path Problem
> Project 'trunk' is missing required library:
> 'solr/example/solr-webapp/webapp/WEB-INF/lib/httpclient-4.3.1.jar' trunk
> Build
> path Build Path Problem
> Project 'trunk' is missing required library:
> 'solr/example/solr-webapp/webapp/WEB-INF/lib/httpcore-4.3.jar' trunk Build
> path Build Path Problem
> Project 'trunk' is missing required library:
> 'solr/example/solr-webapp/webapp/WEB-INF/lib/httpmime-4.3.1.jar' trunk
> Build
> path Build Path Problem
> Project 'trunk' is missing required library:
> 'solr/example/solr-webapp/webapp/WEB-INF/lib/joda-time-2.2.jar' trunk Build
> path Build Path Problem
> Project 'trunk' is missing required library:
>
> 'solr/example/solr-webapp/webapp/WEB-INF/lib/lucene-analyzers-common-5.0.0-SNAPSHOT.jar'
> trunk Build path Build Path Problem
>
--
Regards,
Shalin Shekhar Mangar.