Where did you place the jar file inside Solr on which servlet container? I suspect some strange classloader problems. As the attributes are loaded by lucene, the impl should be available from classes inside lucene-core.jar file and placed in the same classpath of the lucene-core.jar classloader.
----- Uwe Schindler H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de eMail: [email protected] > -----Original Message----- > From: Ahmed El-dawy [mailto:[email protected]] > Sent: Sunday, December 27, 2009 9:49 PM > To: [email protected] > Subject: Using the new tokenizer API from a jar file > > Hello all, > I've built a tokenizer which uses the new tokenizer API (the one with > the > Decorator Pattern). I built a new AttributeReader called GlossAttribute > and > GlossAttributeImpl. I packaged it into a jar file and it's working very > fine. > I tried to use it with solr and the problems began. It's always telling me > that it cannot find the class GlossAttributeImpl. I think the problem is > that my jar file is added to the class path at run time not from the > command > line. Do you have a good solution or workaround? > > -- > regards, > Ahmed Saad --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
