dcsimg
Validations not recognized using validation.xml
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Ramon_Valdez
Posted On:   Monday, December 11, 2006 10:36 AM

I´m using a validwhen with this code: test (apaterno_usuario_diverso == null) but when submitting I´m getting the next error: java.lang.NoClassDefFoundError: antlr/TokenStream java.lang.Class.getDeclaredMethods0(Native Method) java.lang.Class.privateGetDeclaredMethods(Unknown Source) java.lang.Class.getMethod0(Unknown Source) java.lang.Class.getMethod(Unknown Source) org.apache.commons.validator.ValidatorAction.loadValidationMethod(ValidatorAction.java:623) org.apache.commons.validator.ValidatorAction.executeValidationMethod(ValidatorAction.java:557) org.apache.commons.validator.Field.validateForRule(Field.java:827) org.a   More>>

I´m using a validwhen with this code:




test
(apaterno_usuario_diverso == null)



but when submitting I´m getting the next error:
java.lang.NoClassDefFoundError: antlr/TokenStream
java.lang.Class.getDeclaredMethods0(Native Method)
java.lang.Class.privateGetDeclaredMethods(Unknown Source)
java.lang.Class.getMethod0(Unknown Source)
java.lang.Class.getMethod(Unknown Source)
org.apache.commons.validator.ValidatorAction.loadValidationMethod(ValidatorAction.java:623)
org.apache.commons.validator.ValidatorAction.executeValidationMethod(ValidatorAction.java:557)
org.apache.commons.validator.Field.validateForRule(Field.java:827)
org.apache.commons.validator.Field.validate(Field.java:906)
org.apache.commons.validator.Form.validate(Form.java:174)
org.apache.commons.validator.Validator.validate(Validator.java:367)
org.apache.struts.validator.ValidatorForm.validate(ValidatorForm.java:110)
____________________________
I´m extending ValidatorForm in my ActionForm
What is left in my code or why is this message presenting?

   <<Less
About | Sitemap | Contact