Error Log from console - Here **Dependency Versions:**
springBootVersion=2.7.3
hibernateVersion=5.6.10.Final
hibernate_search=**6.2.0.CR1**
annotationProcessor "org.hibernate:hibernate-jpamodelgen:${hibernateVersion}"
implementation "org.hibernate.search:hibernate-search-mapper-orm:${hibernate_search}"
implementation "org.hibernate.search:hibernate-search-backend-elasticsearch:${hibernate_search}"
implementation "org.hibernate.search:hibernate-search-mapper-orm-batch-jsr352-core:${hibernate_search}"
implementation "org.hibernate.search:hibernate-search-mapper-orm-batch-jsr352-jberet:${hibernate_search}"
The Error on starting the application, both from IntelliJ and Terminal:
Please note that we observed this on hibernate_search **6.2.0.Beta1** as well , but intermittently.
We tried adding a runtime dependency for snakeyaml to our gradle, but no effect.
Please check the attached imae
Looks like there is an open issue with Spring: https://github.com/spring-projects/spring-boot/issues/34405; for SnakeYAML 2.0
And adding or forcing this line in gradle dependencies
fixes it, Sharing for anyone that may hit the same issue:
implementation('org.yaml:snakeyaml'){
version{
strictly "[1.30]"
}
}