If you get the error
java.lang.NoSuchMethodError: org.objectweb.asm.ClassVisitor
this is an issue with asm jar versions. Hibernate and Spring use different versions that mess up your classpath. My solution was to remove Spring as I don’t have time to figure this one out properly ;)