You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Import the attached project in the workspace. Its a basic Spring Boot project created from start.spring.io with a dependency to Spring Data JPA (and thus Hibernate). It's using Spring Boot 3.0.6 and thus hibernate-core-6.1.7-Final.jar which are not the latest, but the latest versions have deprecated a type used in my reproduction case (though I don't think this is relevant here).
The project does not compile because the ModeEnumType it defines has an indirect dependency to org.jboss.logging.Logger which is not in the main build path:
The type org.jboss.logging.Logger cannot be resolved. It is indirectly referenced from required type org.hibernate.type.EnumType
In the project's "Maven Dependencies", jboss-logging-3.0.5-final.jar is there, but marked as test-only:
Steps to reproduce:
hibernate-core-6.1.7-Final.jar
which are not the latest, but the latest versions have deprecated a type used in my reproduction case (though I don't think this is relevant here).ModeEnumType
it defines has an indirect dependency toorg.jboss.logging.Logger
which is not in the main build path:In the project's "Maven Dependencies",
jboss-logging-3.0.5-final.jar
is there, but marked as test-only:In the project's POM, uncomment the dependency:
Compilation is now OK.
Note that even without the explicit dependency added, the project builds without error:
The text was updated successfully, but these errors were encountered: