Upgraded many libraries and packages, see pom.xml; fixed a hibernate compilation problem