myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Erickson (JIRA)" <...@myfaces.apache.org>
Subject [jira] Commented: (MYFACES-292) myfaces-example throws NoClassDefFoundError on test page
Date Tue, 23 Nov 2010 20:04:15 GMT

    [ https://issues.apache.org/jira/browse/MYFACES-292?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12935015#action_12935015
] 

Ted Erickson commented on MYFACES-292:
--------------------------------------

The jakarta-oro jar is not packaged with the latest release (commons-validator-1.3.1.jar).

You can quickly reproduce this error by removing jakarta-oro.jar from your class path.

> myfaces-example throws NoClassDefFoundError on test page
> --------------------------------------------------------
>
>                 Key: MYFACES-292
>                 URL: https://issues.apache.org/jira/browse/MYFACES-292
>             Project: MyFaces Core
>          Issue 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.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message