Web 專案精靈限制
如果您在使用 Java™ 6 的工作區中安裝 WebSphere® Application Server 8.5 版執行時期,然後在建立 Web 專案之後將 WebSphere Application Server 8.5 版執行時期的 JRE 版本變更為 1.7 版,則當您建立第二個 Web 專案時,將會使用 JRE 1.6 資料類型。
Web 專案精靈限制實務範例
重要: 適用於 WebSphere Application Server 傳統版
- 您在使用 Java 6 的工作區中安裝 WebSphere Application Server 8.5 版執行時期。
- 您建立以此 WebSphere Application Server 8.5 版執行時期為目標的 Web 專案。
- 在執行時期編輯器中,您將 WebSphere Application Server 8.5 版執行時期變更為以 JRE 1.7 版為目標。
- 然後,您建立另一個以相同的 WebSphere Application Server 8.5 版執行時期為目標的 Web 專案,這第二個 Web 專案會使用 JRE 1.6 版,而不是 1.7,因為 Web 專案精靈會快取上一次建立時的資料類型。