我正在使用Hibernate Search应用程序,并且尝试使用版本6(目前处于beta版)。我遵循了https://docs.jboss.org/hibernate/search/6.0/reference/en-US/html_single/#getting-started-configuration
中的所有说明和文档尝试启动我的应用程序后,出现下一个错误:
我看过Google,似乎是我是世界上第一个面临此问题的人。
***************************
APPLICATION FAILED TO START
***************************
Description:
An attempt was made to call a method that does not exist. The attempt was made from the following location:
org.hibernate.search.mapper.orm.mapping.impl.HibernateOrmIndexedTypeContext.<init>(HibernateOrmIndexedTypeContext.java:35)
The following method did not exist:
org.hibernate.metamodel.spi.MetamodelImplementor.entity(Ljava/lang/Class;)Lorg/hibernate/metamodel/model/domain/spi/EntityTypeDescriptor;
It was loaded from the following location:
file:/home/myUser/.m2/repository/org/hibernate/hibernate-core/5.3.11.Final/hibernate-core-5.3.11.Final.jar
action:
Correct the classpath of your application so that it contains a single,compatible version of org.hibernate.metamodel.spi.MetamodelImplementor
有什么解决方法的想法吗?,在我的应用程序中,我正在使用Spring boot和jpa。