Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Apache Lucene and Hibernates search getting error

Exception in thread "main" java.lang.VerifyError: class org.hibernate.search.util.impl.DelegateNamedAnalyzer overrides final method tokenStream.(Ljava/lang/String;Ljava/io/Reader;)Lorg/apache/lucene/analysis/TokenStream;

like image 923
user2709752 Avatar asked Mar 22 '23 08:03

user2709752


1 Answers

It means you're using a Lucene version which is different than the one compatible with your Hibernate Search version. The compatible versions are documented on the readme or you could look at the Maven dependencies.

like image 103
Sanne Avatar answered Apr 02 '23 04:04

Sanne