It looks like the problem is in hibernate-ogm-core-5.0.1.Final:
org.hibernate.ogm.transaction.jta.impl.RollbackOnCommitFailureJtaTransactionCoordinatorBuilder has a reference to the non-SPI package name, which IDEA is showing as not resolving.