2012-08-09 59 views
0

在Eclipse中解析Errai應用程序時,出現以下錯誤。在Eclipse中調試Errai應用程序的問題

[WARN] failed com.g[email protected]1575d48{/,/home/matthew/git/PressGangCCMSUI/src/main/webapp}: java.lang.ClassFormatError: Absent Code attribute in method that is not native or abstract in class file javax/faces/context/FacesContext 
    [WARN] failed [email protected]: java.lang.ClassFormatError: Absent Code attribute in method that is not native or abstract in class file javax/faces/context/FacesContext 
    [WARN] Error starting handlers 
java.lang.ClassFormatError: Absent Code attribute in method that is not native or abstract in class file javax/faces/context/FacesContext 

有誰知道如何解決這個問題?

回答

0

事實證明,這個問題是因爲Eclipse使用本地Maven項目作爲依賴項而不是本地回購緩存中的JAR文件。一旦關閉了我的Errai應用程序所依賴的項目,Eclipse將恢復使用本地回購緩存中的JAR,並且可以再次啓動調試器。