Closed gpcmol closed 10 years ago
hibernate-entitymanager depends on hibernate-jpa-2.0-api and this dependency is automatically included in the project.
I run mvn package an in int final war I see hibernate-jpa-2.0-api-1.0.1.Final.jar.
I also remove M2 repository and built the project on clean system. The dependency was downloaded just fine and the project exectuted correctly.
I also checked this in IntelliJ and all works as expected.
So the issues sounds strange. I use Maven Cetnral to download, maybe you have some other configuration? Maybe you changed the pom.xml somehow?
Could you please share more details.
The problem I had was because of a corrupted local repository. I deleted .m2 and it's fixed.
I had to add an additional dependency to make this work.