snowballanalyzer

What is the proper dependency entry in pom.xml to use the Snowball analyzer with Lucene 2.4.0?

I'm trying to swap in the SnowballAnalyzer for StandardAnalyzer on my Maven 2 project. I'm currently using <dependency> <groupId>org.apache.lucene</groupId> <artifactId>lucene-contrib</artifactId> <version>2.4.0</version> <scope>compile</scope> </dependency> but I keep getting the following erro...

Exception when indexing text documents with Lucene, using SnowballAnalyzer for cleaning up

Hello!!! I am indexing the documents with Lucene and am trying to apply the SnowballAnalyzer for punctuation and stopword removal from text .. I keep getting the following error :( IllegalAccessError: tried to access method org.apache.lucene.analysis.Tokenizer.(Ljava/io/Reader;)V from class org.apache.lucene.analysis.snowball.Snowba...