Return-Path: Delivered-To: apmail-commons-user-archive@www.apache.org Received: (qmail 14822 invoked from network); 5 Nov 2008 07:13:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Nov 2008 07:13:36 -0000 Received: (qmail 17197 invoked by uid 500); 5 Nov 2008 07:13:40 -0000 Delivered-To: apmail-commons-user-archive@commons.apache.org Received: (qmail 17127 invoked by uid 500); 5 Nov 2008 07:13:40 -0000 Mailing-List: contact user-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Users List" Delivered-To: mailing list user@commons.apache.org Received: (qmail 17115 invoked by uid 99); 5 Nov 2008 07:13:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Nov 2008 23:13:40 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [213.46.255.22] (HELO viefep18-int.chello.at) (213.46.255.22) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Nov 2008 07:12:23 +0000 Received: from edge04.upc.biz ([192.168.13.239]) by viefep16-int.chello.at (InterMail vM.7.08.02.00 201-2186-121-20061213) with ESMTP id <20081105071302.XZBV2850.viefep16-int.chello.at@edge04.upc.biz> for ; Wed, 5 Nov 2008 08:13:02 +0100 Received: from [192.168.1.100] ([84.113.196.60]) by edge04.upc.biz with edge id bKD11a00z1JfwPo04KD2qM; Wed, 05 Nov 2008 08:13:02 +0100 X-SourceIP: 84.113.196.60 Subject: Re: error in Perl5Util From: Simon Kitching To: Commons Users List In-Reply-To: <697B15BDCE7BED458A324B1B4D09463D4CD253CBFD@IND-MHP1MCL001.mastek.com> References: <697B15BDCE7BED458A324B1B4D09463D4CD253CBFD@IND-MHP1MCL001.mastek.com> Content-Type: text/plain Date: Wed, 05 Nov 2008 08:13:00 +0100 Message-Id: <1225869180.7562.3.camel@simon-laptop> Mime-Version: 1.0 X-Mailer: Evolution 2.24.1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org 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