jpa报错

 Invocation of init method failed; nested exception is org.hibernate.AnnotationException: java.lang.NoSuchMethodException: org.hibernate.validator.ClassValidator.(java.lang.Class, java.util.ResourceBundle, org.hibernate.validator.MessageInterpolator, java.util.Map, org.hibernate.annotations.common.reflection.ReflectionManager)

在网上搜答案时,发现网上大都说是HIBERNATE JAR包版本问题,试着改了下还是不行。最后发现原来是少了一个JAR包

你可能感兴趣的:(JAVA常用框架)