Pasting that line into a chunk of code works fine for me, with 4.5 rather than 4.3 but I don't expect that matters. Have you got a) all the right jars in your classpath and b) none of the wrong jars?
-- Ian. On Wed, Nov 13, 2013 at 11:20 AM, Hang Mang <gucko.gu...@googlemail.com> wrote: > Hi guys, > > I'm using Lucene 4.3 and I'm getting this Exception: > > java.lang.NoSuchFieldError: STOP_WORDS_SET > > > at this line in my code: > > CharArraySet DEFAULT_STOP_SET = StandardAnalyzer.STOP_WORDS_SET; > > > This is driving me crazy, I don't know what's wrong! --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org