Sun GlassFish Enterprise Server v3 版本說明

說明

在以 glassfish-embedded-all-3.0-b73.jar 內嵌使用時,部署失敗並出現下列錯誤:


SEVERE: WEB9051: Error trying to scan the classes at
/private/var/folders/CV/CVhj8DvqEwGK5bdJKK9TaE   TI/-Tmp-
/gfembed6991712842235699248tmp/applications/xwiki-enterprise-web-2.0/
WEB-INF/lib/activation-1.1.jar for annotations in which a 
ServletContainerInitializer has expressed interest
java.util.zip.ZipException: error in opening zip file

發生此問題是由於內嵌使用帶有加號 (+) 的資料夾,而在解碼路徑時,路徑中的加號被轉換為空格字元「 」。

如需更多資訊,請參閱問題報告