On Wed, Oct 15, 2014 at 12:38 AM, Anurag Sharma <anura...@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.

Reply via email to