Hey hey
hmm yeah … this looks like a problem with dependencies
You’d want
- Hibernate ORM 7.0
- Hibernate Search 8.0
- Hibernate Models 1.0 (above two should take care of that, but versions in ORM 7.0.0 and Search 8.0.0 are different and things won’t work nicely if you don’t force the version Search expects) but since you are already at 8.0.0 and 7.0.2 this shouldn’t be a problem
- Jakarta Persistence 3.2.0
I suspect that Spring brings its own versions of some of the above and it is causing the issues … try running mvn dependency:tree
to see what ends up in your dependencies and from where it comes from..
see the missing jakarta.persistence.PersistenceUnitTransactionType
tells that it’s there since 3.2: PersistenceUnitTransactionType (Jakarta Persistence API documentation)