jBoss下java.lang.NoSuchMethodException: org.hibernate.validator.ClassValidator
Caused by: java.lang.NoSuchMethodException: org.hibernate.validator.ClassValidator.<init>(java.lang.Class, java.util.ResourceBundle, org.hibernate.validator.MessageInterpolator, java.util.Map, org.hibernate.annotations.common.reflection.ReflectionManager)
at java.lang.Class.getConstructor0(Class.java:2706) ~[na:1.6.0_29]
at java.lang.Class.getDeclaredConstructor(Class.java:1985) ~[na:1.6.0_29]
需注意hibernate-annotations.jar有無對衝, 若有相同jar引用, 需移除一個(exclusions)
沒有留言:
張貼留言