[jboss-user] [JBoss Portal] - Re: a JSF Validator cannot be cast to javax.faces.validator.

webmascon do-not-reply at jboss.com
Sun Mar 2 19:25:13 EST 2008


to everybody: the problem is solved

I put the jar file containing MyValidator.class into lib2 folder, and it worked. Apparently, myfaces uses some tricks to load jar files from "lib2" (not "lib") folder. You were right if I put my class in lib2 folder the same Class Loader that loads myfaces libs loads my validator too and makes it castable to Validator interface.



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133525#4133525

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133525



More information about the jboss-user mailing list