I'm probably one of the many that is moving away from Glassfish to WildFly. I have done some trivial changes but now Weld is giving validation failures like the following on some of our EJB3 beans:

javax.validation.ConstraintDeclarationException: HV000151: A method overriding another method must not alter the parameter constraint configuration

The worse thing is that only see one at a time: so I fix one, do the build-redeploy dance, and then see the next one. Most of the problems is that in the overriding class we use javax.validation.constraints.NotNull annotation on the parameter, which is what Weld doesn't seem to like. Obviously these worked in Glassfish.

My first thought is: how can I shut off Weld validation? If that is not possible (which I'm willing to accept), then how can I see these validation errors all at once instead of one at a time during deployment?

Thanks
--
Mike Hostetler
http://mike.hostetlerhome.com/