2011-01-24 30 views
0

我試圖在我的家用機器ubuntu上運行icefaces教程示例它在tomcat 7中完美工作,但在Windows上它只是給我這個討厭的異常任何建議?IceFaces 2問題與facelets示例

GRAVE: Exception sending context initialized event to listener instance of class org.apache.myfaces.webapp.StartupServletContextListener 
java.lang.NoSuchMethodError: org.icefaces.util.EnvUtils.isPartialStateSaving (Ljavax/faces/context/FacesContext;) Z 
at org.icefaces.component.fileentry.FileEntryFormSubmit. <init> (FileEntryFormSubmit.java: 47) 
at org.icefaces.component.fileentry.FileEntryLoader. <init> (FileEntryLoader.java: 45) 

回答

0

我剛剛在我的icefaces web應用程序中修復了這種異常。我有不正確的icefaces.jar文件。可能是你必須檢查所有的罐子?

0

在我的情況下,錯誤是: 的NoSuchMethodError:org.icefaces.util.EnvUtils.isCoallesceResources 的解決辦法是在pom.xml改變,我是通過ICEFaces的版本,從3.1.0到3.3。 0