NoSuchMethodError « IceFaces « JSF Q&A





6. NoSuchMethodError (Application.getExpressionFactory) when using t:updateActionListener    icefaces.org

Hi, I'm trying to migrate a MyFaces/Tomahawk page to ICEfaces. Since ICEfaces has no alternative to t:updateActionListener i simply kept it. But this attempt resulted in the following stacktrace: Code: 10:08:44,484 ERROR [Digester] Begin event threw error java.lang.NoSuchMethodError: javax.faces.application.Application.getExpressionFactory()Ljavax/el/ExpressionFactory; at com.icesoft.faces.webapp.parser.ELSetPropertiesRule.getValueExpression(ELSetPropertiesRule.java:153) at com.icesoft.faces.webapp.parser.ELSetPropertiesRule.begin(ELSetPropertiesRule.java:94) at org.apache.commons.digester.Rule.begin(Rule.java:175) at org.apache.commons.digester.Digester.startElement(Digester.java:1453) at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source) at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown ...





12. java.lang.NoSuchMethodError: org.apache.commons.fileupload.servlet.ServletFileUpload.setFileSizeMax(    icefaces.org

Hi, Im trying to use the InputFileComponent in a facelet configuration, but I get this exception the moment I press the Upload button. I downloaded the latest common-fileupload-1.2.1 and replaced the old one. I use Icefaces 1.7 and I already use this component in a other project with great success. I even copied the bean code to the new one, just ...

13. java.lang.NoSuchMethodError: com/sun/faces/util/Util.getLogger(Ljava/lang/String;)Ljava/util/logging    icefaces.org

Hi, You can try replacing the jsf-api-1.2.jar and jsf-impl-1.2.jar with the jars "jsf-api.jar" and "jsf-impl.jar" Why do you deploy an ear file when you only have a war file inside ? Is it a special constraint of the ibm app server you use ? Can you try deploying the war file directly instead of the ear ? Georges