I've forwarded this to the struts-user list; it's better to ask questions
there.

--- Thaminda Karunanayake <[EMAIL PROTECTED]> wrote:
> From: "Thaminda Karunanayake" <[EMAIL PROTECTED]>
> I'm using Struts 2 client side validation to validate a password
> confirmation field.
> But to do that I can't use any validator that is already there because non
> of them is appropriate for the task.
> So I wrote a custom validator class and included it in the
> validators.xmlfile. (I created it in the classpath)
> But now the program does not work and throws an exception when I try to
> login. The exception is
> 
> java.lang.NoClassDefFoundError: Could not initialize class
> com.opensymphony.xwork2.validator.ValidatorFactory
> 
> The program works when the dafault validators.xml class is used. (when I
> take my validators.xml file out)
> 
> Do you have any suggestions for this problem? If you do, I'd be really
> really grateful to you if you could kindly reply.
> 
> 
> Thanking in advance........
> 
> Thaminda
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to