java.lang.NoSuchMethodError: org.apache.lucene.analysis.KeywordAnalyzer.setOverridesTokenStreamMethod(Ljava/lang/Class;)V

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Coderanch by adam bilyone, 1 year ago
org.apache.lucene.analysis.KeywordAnalyzer.setOverridesTokenStreamMethod(Ljava/lang/Class;)V
java.lang.NoSuchMethodError: org.apache.lucene.analysis.KeywordAnalyzer.setOverridesTokenStreamMethod(Ljava/lang/Class;)V
at org.apache.lucene.analysis.KeywordAnalyzer.(KeywordAnalyzer.java:29)
at org.netbeans.modules.java.source.usages.DocumentUtil.createAnalyzer(DocumentUtil.java:118)
at org.netbeans.modules.java.source.usages.PersistentClassIndex.(PersistentClassIndex.java:105)
at org.netbeans.modules.java.source.usages.PersistentClassIndex.create(PersistentClassIndex.java:190)
at org.netbeans.modules.java.source.usages.ClassIndexManager.createUsagesQuery(ClassIndexManager.java:204)
at org.netbeans.modules.java.source.indexing.JavaCustomIndexer$Factory$1$1.run(JavaCustomIndexer.java:814)
at org.netbeans.modules.java.source.indexing.JavaCustomIndexer$Factory$1$1.run(JavaCustomIndexer.java:811)
at org.netbeans.modules.parsing.lucene.support.IndexManager$1.call(IndexManager.java:103)
at org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:168)
at org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:356)
at org.netbeans.modules.parsing.lucene.support.IndexManager.writeAccess(IndexManager.java:100)
at org.netbeans.modules.java.source.indexing.JavaCustomIndexer$Factory$1.run(JavaCustomIndexer.java:811)
at org.netbeans.modules.java.source.indexing.JavaCustomIndexer$Factory$1.run(JavaCustomIndexer.java:808)
at org.netbeans.modules.java.source.usages.ClassIndexManager.prepareWriteLock(ClassIndexManager.java:120)
at org.netbeans.modules.java.source.indexing.JavaCustomIndexer$Factory.scanStarted(JavaCustomIndexer.java:808)
at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.scanStarted(RepositoryUpdater.java:1695)
at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.scanFiles(RepositoryUpdater.java:2179)
at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$FileListWork.getDone(RepositoryUpdater.java:2374)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.