Ales Justin [http://community.jboss.org/people/alesj] created the discussion

"Re: How to stop my WAR loading JBoss's provided 3rd party classes?"

To view the discussion, visit: http://community.jboss.org/message/578455#578455

--------------------------------------------------------------
> however I'm still getting an exceptions related to hibernate validator which 
> appears to be related to the differences between hibernate bundled in the ear 
> - 3.5.6 - and hibernate in JBoss 6.0.0.Final - 3.6.0 + hibernate Validator 
> 4.1.0 - see below.
> org.hibernate.AnnotationException: 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 
> org.hibernate.cfg.AnnotationConfiguration.applyHibernateValidatorLegacyConstraintsOnDDL(AnnotationConfiguration.java:455)
>  [:3.5.6-Final]
It looks like your Hibernate is kicking in, but the problem is now Validator.
You're saying you're also bundling Hibernate Validator that matches Hibernate 
3.5.6-Final' usage?
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/578455#578455]

Start a new discussion in JBoss Microcontainer at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2114]

_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to