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

chris.laprun@jboss.com do-not-reply at jboss.com
Sun Mar 2 18:26:40 EST 2008


The JIRA answer pretty much answers it. A class loaded twice in different class loaders will appear different to the VM. In your case what most likely happens is that your class loads Validator from your application library while the identity portlet loads it from MyFaces, thus causing the ClassCastException. Try to remove the JSF libs from your application.


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

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



More information about the jboss-user mailing list