commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthias Fischer <Matthias.Fisc...@doubleSlash.de>
Subject Re: commons validator: problem building example
Date Thu, 17 Aug 2006 19:22:52 GMT
Thanks.

However I got another problem:


I copied the example files to a new project. but when I run the
ValidatorExample I get:


Exception in thread "main"
org.apache.commons.validator.ValidatorException:
org.apache.commons.validator.TestValidator
    at
org.apache.commons.validator.ValidatorAction.loadValidationClass(ValidatorAction.java:623)
    at
org.apache.commons.validator.ValidatorAction.executeValidationMethod(ValidatorAction.java:531)
    at org.apache.commons.validator.Field.validateForRule(Field.java:766)
    at org.apache.commons.validator.Field.validate(Field.java:846)
    at org.apache.commons.validator.Form.validate(Form.java:290)
    at org.apache.commons.validator.Validator.validate(Validator.java:354)
    at ValidateExample.main(ValidateExample.java:106)


My project looks as follows:

lib\commons-digester-1.7.jar
lib\commons-collections-3.2.jar
lib\commons-beanutils.jar
lib\commons-logging-1.1.jar
lib\commons-validator-1.3.0.jar
lib\jakarta-oro-2.0.8.jar

src\validator-example.xml
src\commons-validator-1.3.0.js
src\ValidateBean.java
src\ValidateExample.java
src\applicationResources.properties


I did not find anything on the web concerning the above error. Can
anybody tell me how to fix this? Maybe I forgot any dependencies?


Kind regards
Matthias


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message