On Wed, 2008-11-05 at 12:28 +0530, Shraddha V Thorat wrote:
> Hello,
> While validating the field with the regular expression as,.
>
> if (!GenericValidator.isBlankOrNull(value) &&
> !GenericValidator.matchRegexp(value, mask))
> {
> valid = false;
> }
>
> I am getting following error
>
> java.lang.NoClassDefFoundError: org/apache/oro/text/perl/Perl5Util
> at
> org.apache.commons.validator.GenericValidator.matchRegexp(GenericValidator.java:68)
Then you probably have mismatched versions of validator and commons-oro
in your classpath. Check the dependency information for the version of
validator that you are using, and make sure you have a compatible
version of oro in your classpath.
Regards, Simon
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]