2013-05-07 83 views

回答

0

檢查這個問題的答案: JSF 1.2 app not working with GlassFish v3 同時檢查: https://wikis.oracle.com/display/GlassFish/JavaServerFacesRI#JavaServerFacesRI-IwanttouseMojarra1.2inGlassfishv3

另外: http://www.icesoft.org/JForum/posts/list/17044.page#sthash.4uwE5n1N.F9JR7G2x.dpbs

不過,我也有同樣Glassfish 4的問題並沒有成功(部署好了,但我不能查看我的網頁,因爲: 拋出java.lang.ClassNotFoundException:org.icefaces.x.context.BridgeFacesContext2

UPDATE:

結帳http://anonsvn.icesoft.org/repo/icefaces/tags/icefaces-1.8.2a/icefaces/ 呼叫ICEfaces的文件夾內的螞蟻build.all 。 從.war WEB-INF/lib目錄下的lib文件夾複製icefaces jars(即移除icefaces1.8.2.jar,icefaces-comps-1.8.2.jar,icefaces-facelets-1.8.2.jar並將它們替換爲相同的新罐子 - 來自lib文件夾的1.8.2a版本)。

的解釋是在這裏:http://www.icesoft.org/JForum/posts/list/16568.page#sthash.3XjXYufx.dpbs

注:ICEfaces的1.8.2a版本由官方的ICEfaces的1.8.2版本加上一個補丁來解決問題,部署JSF 1.1或JSF 1.2 ICEfaces的項目到GlassFish 3時。有必要使用Glassfish 3上的ICEfaces 1.8.2a版本庫,因爲在JEE5/JSF 1.2項目中使用時,原始ICEfaces 1.8.2運行時庫將失敗並顯示「JSF 2不支持」錯誤。 - 多見於:http://www.icesoft.org/JForum/posts/list/16568.page#sthash.3XjXYufx.dpuf

從這裏跟着步驟:http://www.icesoft.org/JForum/posts/list/17044.page#sthash.4uwE5n1N.F9JR7G2x.dpbs看到deryk.sinotte的帖子開頭:「我做了以下」

部署的.war後與1.8.2a ICEfaces的罐子錯誤走