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 James liu <li...@gmail.com> on 2009/07/02 08:02:12 UTC
IndexMerge not found
i try http://wiki.apache.org/solr/MergingSolrIndexes
system: win2003, jdk 1.6
Error information:
> Caused by: java.lang.ClassNotFoundException:
> org.apache.lucene.misc.IndexMergeTo
> ol
> at java.net.URLClassLoader$1.run(Unknown Source)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(Unknown Source)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at java.lang.ClassLoader.loadClassInternal(Unknown Source)
> Could not find the main class: org/apache/lucene/misc/IndexMergeTool.
> Program w
> ill exit.
>
--
regards
j.L ( I live in Shanghai, China)
Re: IndexMerge not found
Posted by Otis Gospodnetic <ot...@yahoo.com>.
Hi,
My feeling is those jars are actually not in your CLASSPATH (or in -cp).
Otis
--
Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch
----- Original Message ----
> From: James liu <li...@gmail.com>
> To: solr-user@lucene.apache.org
> Sent: Thursday, July 2, 2009 2:03:19 AM
> Subject: Re: IndexMerge not found
>
> i use lucene-core-2.9-dev.jar, lucene-misc-2.9-dev.jar
>
> On Thu, Jul 2, 2009 at 2:02 PM, James liu wrote:
>
> > i try http://wiki.apache.org/solr/MergingSolrIndexes
> >
> > system: win2003, jdk 1.6
> >
> > Error information:
> >
> >> Caused by: java.lang.ClassNotFoundException:
> >> org.apache.lucene.misc.IndexMergeTo
> >> ol
> >> at java.net.URLClassLoader$1.run(Unknown Source)
> >> at java.security.AccessController.doPrivileged(Native Method)
> >> at java.net.URLClassLoader.findClass(Unknown Source)
> >> at java.lang.ClassLoader.loadClass(Unknown Source)
> >> at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
> >> at java.lang.ClassLoader.loadClass(Unknown Source)
> >> at java.lang.ClassLoader.loadClassInternal(Unknown Source)
> >> Could not find the main class: org/apache/lucene/misc/IndexMergeTool.
> >> Program w
> >> ill exit.
> >>
> >
> >
> > --
> > regards
> > j.L ( I live in Shanghai, China)
> >
>
>
>
> --
> regards
> j.L ( I live in Shanghai, China)
Re: IndexMerge not found
Posted by James liu <li...@gmail.com>.
i use lucene-core-2.9-dev.jar, lucene-misc-2.9-dev.jar
On Thu, Jul 2, 2009 at 2:02 PM, James liu <li...@gmail.com> wrote:
> i try http://wiki.apache.org/solr/MergingSolrIndexes
>
> system: win2003, jdk 1.6
>
> Error information:
>
>> Caused by: java.lang.ClassNotFoundException:
>> org.apache.lucene.misc.IndexMergeTo
>> ol
>> at java.net.URLClassLoader$1.run(Unknown Source)
>> at java.security.AccessController.doPrivileged(Native Method)
>> at java.net.URLClassLoader.findClass(Unknown Source)
>> at java.lang.ClassLoader.loadClass(Unknown Source)
>> at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
>> at java.lang.ClassLoader.loadClass(Unknown Source)
>> at java.lang.ClassLoader.loadClassInternal(Unknown Source)
>> Could not find the main class: org/apache/lucene/misc/IndexMergeTool.
>> Program w
>> ill exit.
>>
>
>
> --
> regards
> j.L ( I live in Shanghai, China)
>
--
regards
j.L ( I live in Shanghai, China)