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 <liuping.ja...@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)