Are you absolutely sure that you don't have some older jars hanging around in your environment? Especially when using Eclipse, the jar you compile with isn't necessarily the jar you run with, you have to find the magic runtime settings....
And if you're not using eclipse, it could still be something similar... Best Erick On Fri, Apr 18, 2008 at 7:11 PM, Peiran Song <[EMAIL PROTECTED]> wrote: > Hi All, > > I recently upgraded Lucene to 1.9.1 and then to 2.3.1. The application > program compiled successfully but throws run time error: > > java.lang.NoSuchFieldError: prohibited > > > org.apache.lucene.search.highlight.QueryTermExtractor.getTermsFromBooleanQuery(QueryTermExtractor.java:91) > > > org.apache.lucene.search.highlight.QueryTermExtractor.getTerms(QueryTermExtractor.java:66) > > > org.apache.lucene.search.highlight.QueryTermExtractor.getTerms(QueryTermExtractor.java:59) > > > org.apache.lucene.search.highlight.QueryTermExtractor.getTerms(QueryTermExtractor.java:45) > > org.apache.lucene.search.highlight.QueryScorer.<init>(QueryScorer.java:48) > > I was not able to google a solution and I hope to get some help here. > Thanks a lot! > > Peiran > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >