You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Matthias Weßendorf (JIRA)" <my...@incubator.apache.org> on 2005/06/29 08:49:01 UTC

[jira] Commented: (MYFACES-292) myfaces-example throws NoClassDefFoundError on test page

    [ http://issues.apache.org/jira/browse/MYFACES-292?page=comments#action_12314666 ] 

Matthias Weßendorf commented on MYFACES-292:
--------------------------------------------

csaba,

you are right. There is a jar missing. jakarta-oro.jar
is used inside of email validator.

As a work around you can add it yourself (see http://jakarta.apache.org/oro/index.html)

we'll fix this soon.

> myfaces-example throws NoClassDefFoundError on test page
> --------------------------------------------------------
>
>          Key: MYFACES-292
>          URL: http://issues.apache.org/jira/browse/MYFACES-292
>      Project: MyFaces
>         Type: Bug
>  Environment: http://irian.at/myfaces/
>     Reporter: Csaba Sebastian
>     Assignee: Matthias Weßendorf

>
> I've tried the 'official' MyFaces example. I have choosen the Validations under the Examples, and tried to validate my mispelled email-address: sebcsaba&freemail.hu ('&' instead of '@'). When I clicked on 'Submit', the server threw an exception described bellow.
> (Also the 'Info' menuitem doesn't works on the top menu bar.)
> java.lang.NoClassDefFoundError: org/apache/oro/text/perl/Perl5Util
> 	org.apache.commons.validator.EmailValidator.isValid(EmailValidator.java:90)
> 	org.apache.commons.validator.GenericValidator.isEmail(GenericValidator.java:238)
> 	org.apache.myfaces.custom.emailvalidator.EmailValidator.validate(EmailValidator.java:92)
> 	javax.faces.component._ComponentUtils.callValidators(_ComponentUtils.java:133)
> 	javax.faces.component.UIInput.validateValue(UIInput.java:280)
> 	javax.faces.component.UIInput.validate(UIInput.java:300)
> 	javax.faces.component.UIInput.processValidators(UIInput.java:170)
> 	javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:427)
> 	javax.faces.component.UIForm.processValidators(UIForm.java:66)
> 	javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:427)
> 	javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:427)
> 	javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:427)
> 	javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:162)
> 	org.apache.myfaces.lifecycle.LifecycleImpl.processValidations(LifecycleImpl.java:208)
> 	org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:92)
> 	javax.faces.webapp.FacesServlet.service(FacesServlet.java:109)
> 	org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:112)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira