-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conflit between hibernate.core versions for project with feature "hibernate-jpa" #2529
Comments
not sure this conflict should matter. The version is managed in the this BOM https://github.com/micronaut-projects/micronaut-sql/blob/5.7.x/gradle/libs.versions.toml see https://central.sonatype.com/artifact/io.micronaut.sql/micronaut-sql-bom how is this causing an issue for you? |
The project I work on uses those 2 dependencies. For some reason, when I use the When I launch the application (using the directory created by the maven plugin as classpath), I get the following error :
If I remove the version 6.4.4.Final (the jar file) and put the 6.5.2.Final in the directory created by the maven plugin, the application launches without issue. Below are a snippet when the logs diverge between 6.4.4.Final and 6.5.2.Final :
(Du to the nature of the project, I cannot share more information with the log, sorry) I had to add |
Projects created with the feature "hibernate-jpa" (either with version 4.5.0 or 4.5.1-SNAPSHOT) include the following dependencies :
Both have a transitive dependency to
org.hibernate.orm:hibernate-core
but with two different versions :micronaut-data-tx-hibernate
(throughio.micronaut.data:micronaut-data-connection-hibernate:4.8.1
)micronaut-hibernate-jpa
This can be seen with the maven command
mvn dependency:tree -Dversion
:The text was updated successfully, but these errors were encountered: