This looks like you are having the wrong dependencies on your classpath. Are you sure you have the right version of the UEL (JSR 341) on your classpath (see also http://hibernate.org/validator/documentation/getting-started/)? This is not at all related to the what you are validating and which constraints you are using. You seem to indicate that one validation works and not the other, but given the stacktrace, I think nothing should really work.
|