Small correction: Hibernate version cannot be changed in Glassfish4-Hibernate{color:red}Glassfish4-Hibernate-ejb\pom.xml (NOT in top-level pom.xml )