The problem's not in your mapping, it's in a compiler version mismatch. The error indicates that the Hibernate classes are compiled against
Java 8 (version 52.0). You're running it with Java 7 though. You'll need to either find a Java 7 compatible Hibernate version, or upgrade to Java 8.