commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simon Kitching <simon.kitch...@chello.at>
Subject Re: error in Perl5Util
Date Wed, 05 Nov 2008 07:13:00 GMT
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: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message