: Yes, this is with the Jetty that comes with Solr. Right now I'm just : familiarizing myself with everything.
i ment to follow up on this earlier and it slipped through the cracks, just to clarify, what you attempted was: 1) wrote a new Tokenizer 2) wrote a new TokenizerFactory that subclassed BaseTokenizerFactory 3) compiled these classes, and put them in some "custom.jar" 4) put custom.jar in ./example/solr/lib/ 5) started jetty from ./example using "java -jar start.jar" ...does that sound right? could you by anychance try this again using java 1.5 -- i'm wondering if something subtle changed in the 1.6 classloaders : smithde ~>java -version : java version "1.6.0" : Java(TM) SE Runtime Environment (build 1.6.0-b105) : Java HotSpot(TM) Client VM (build 1.6.0-b105, mixed mode, sharing) : : /dev : : : -----Original Message----- : From: Chris Hostetter [mailto:[EMAIL PROTECTED] : Sent: Monday, February 05, 2007 12:52 AM : To: solr-user@lucene.apache.org : Subject: Re: Custom Tokenizer : : : : to develop and build the factory and tokenizer. However, when I start : : solr up, I get a stack trace, that says : "java.lang.NoClassDefFoundError: : : org/apache/solr/analysis/BaseTokenizerFactory" That's really : confusing. : : : : Any thoughts on what I'm missing/doing wrong? : : based on your stack trace, this is with Jetty right? ... this is very : strange, i definitely tested the whole "plugin lib" thing under Jetty : when i worked on it... : : http://issues.apache.org/jira/browse/SOLR-68 : : ..can you verify which version of jetty you are using (ie: is it the : example install from Solr?) and what OS and JVM you are running? : : : -Hoss : -Hoss