© Copyright International Business Machines Corporation 2006. All rights reserved.US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
將 Community Edition Deployment 1.1 版 Facet 套用至 J2EE 專案之後,就無法移除或解除安裝這個 Facet。當您嘗試在執行時期將目標切換至另一個伺服器時,例如 WebSphere® Application Server 6.1 版,將會受到限制。
暫行解決方法
- 選取檔案 > 匯出 > J2EE > EAR 檔案, 利用 EAR 匯出工具來匯出所有以 WebSphere Application Server Community Edition 為目標的專案。
提示:請勿使用「專案交換」來匯出和匯入 EAR 檔,否則會發生同樣的問題。- 選取檔案 > 匯入 > J2EE > EAR 檔來匯入 EAR 檔。
提示: 為了避免在工作區出現重複的專案名稱,請將 EAR 檔匯入不同的工作區,或利用匯入精靈來重新命名 EAR 及其子專案。- 在匯入精靈的目標執行時期欄位中,請指定新的目標伺服器執行時期。
將專案的目標執行時期重設為 WebSphere Community Edition Server 1.x 版之後,無法在伺服器上順利執行專案。
這是因為 Community Edition Deployment Facet 未新增至專案。
暫行解決方法:對於將目標重設為 WebSphere Community Edition Server 1.x 版的每一個專案,請開啟專案的「內容」視窗,並新增 Community Edition Deployment Facet。 需要這個 Facet,專案才能順利在 WebSphere Community Edition 伺服器上執行。