Re: ClassCastException launching recent snapshot

2011-07-07 Thread Erick Erickson
Been There, Done That, Got the T-shirt Erick On Thu, Jul 7, 2011 at 12:13 PM, Benson Margulies wrote: > I built a fresh set of snapshots myself, I carefully cleaned my > project, and everything is happy. So this goes down in the department > of pirate error. > > On Thu, Jul 7, 2011 at 8:29 AM,

Re: ClassCastException launching recent snapshot

2011-07-07 Thread Benson Margulies
I built a fresh set of snapshots myself, I carefully cleaned my project, and everything is happy. So this goes down in the department of pirate error. On Thu, Jul 7, 2011 at 8:29 AM, Erick Erickson wrote: > Then I would guess that you have other (older) jars in your classpath > somewhere. Does th

Re: ClassCastException launching recent snapshot

2011-07-07 Thread Benson Margulies
I just checked the classpath. No strays. You can't 'use the example solr installation' when downloading the war artifact from the snapshot repo. You might ask me: what happens if I just drop that war into a plain tomcat? And I plan to try that. On Thu, Jul 7, 2011 at 8:29 AM, Erick Erickson wro

Re: ClassCastException launching recent snapshot

2011-07-07 Thread Erick Erickson
Then I would guess that you have other (older) jars in your classpath somewhere. Does the example Solr installation work? Best Erick On Wed, Jul 6, 2011 at 10:21 PM, Benson Margulies wrote: > Launching solr-4.0-20110705.223601-1.war, I get a class cast exception > > org.apache.lucene.index.Direc

ClassCastException launching recent snapshot

2011-07-06 Thread Benson Margulies
Launching solr-4.0-20110705.223601-1.war, I get a class cast exception org.apache.lucene.index.DirectoryReader cannot be cast to org.apache.solr.search.SolrIndexReader with the following backtrace. I'm launching solr-as-a-webapp via an embedded copy of tomcat 7. The location of the index is set u