struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dan Allen <...@mojavelinux.com>
Subject Re: custom validator IllegalAccessException
Date Fri, 07 Mar 2003 10:50:16 GMT
Dan Allen (dan@mojavelinux.com) wrote:

> I am attempting to get this identical field validator working and
> after a long night I feel as if I am almost there.  However, this is
> the latest ERROR reported when the field is undergoing validation.
> 
> java.lang.IllegalAccessException: Class
> ERROR org.apache.commons.validator.Validator - reflection: Class
> org.apache.commons.validator.Validator can not access a member of
> class net.creativerge.struts.validator.FieldChecks with modifiers
> "public static"
> 
> Okay, so what the heck does that mean?  My custom class has a single
> method
> 
> public static boolean validateIdentical()

Ignore me, I am a fool.  My class was not declared as "public" so
obviously I could not have a public method.  Keep that in mind.

Dan

-- 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
Daniel Allen, <dan@mojavelinux.com>
http://www.mojavelinux.com/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
"I'm old enough to know better, but still too young to care."
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

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


Mime
View raw message