WebSphere 9 是否支持 Java 9?
Does WebSphere 9 support Java 9?
我在 Java 8 中内置了一个 EAR,它在 WAS 9 中完美运行,但如果我在 Java 9 中编译,EAR 将无法运行并抛出如下错误:
[17/05/22 16:19:56:214 CDT] 000000ad wtp W org.eclipse.jst.j2ee.commonarchivecore.internal.helpers.WARFileAnnotationsDetector locateAnnotations Failed to create class reader for [ WEB-INF/classes/com/ibatis/sqlmap/engine/mapping/sql/dynamic/DynamicSql.class ] in [ H2H.war ]: [ null ]
[17/05/22 16:19:56:214 CDT] 000000ad wtp W org.eclipse.jst.j2ee.commonarchivecore.internal.helpers.WARFileAnnotationsDetector locateAnnotations Failed to create class reader for [ WEB-INF/classes/com/back/auditoria/InsertAuditoriaADM.class ] in [ H2H.war ]: [ null ]
[17/05/22 16:19:56:214 CDT] 000000ad wtp W org.eclipse.jst.j2ee.commonarchivecore.internal.helpers.WARFileAnnotationsDetector locateAnnotations Failed to create class reader for [ WEB-INF/classes/com/back/auditoria/PistasAuditoria.class ] in [ H2H.war ]: [ null ]
[17/05/22 16:19:56:215 CDT] 000000ad wtp W org.eclipse.jst.j2ee.commonarchivecore.internal.helpers.WARFileAnnotationsDetector locateAnnotations Failed to create class reader for [ WEB-INF/classes/com/back/auditoria/SecurityPistas.class ] in [ H2H.war ]: [ null ]
[17/05/22 16:19:56:215 CDT] 000000ad wtp W org.eclipse.jst.j2ee.commonarchivecore.internal.helpers.WARFileAnnotationsDetector locateAnnotations Failed to create class reader for [ WEB-INF/classes/com/back/auditoria/Variables.class ] in [ H2H.war ]: [ null ]
[17/05/22 16:19:56:215 CDT] 000000ad wtp W org.eclipse.jst.j2ee.commonarchivecore.internal.helpers.WARFileAnnotationsDetector locateAnnotations Failed to create class reader for [ WEB-INF/classes/com/back/bd/PFIMonitorBD.class ] in [ H2H.war ]: [ null ]
WebSphere 9 是否支持 Java9?
The WebSphere Application Server V9 traditional 运行time does not 运行 on Java versions after 8. 如果要运行 on Java 11 , 17 或更高版本,那么您可以改用 WebSphere Liberty。
我在 Java 8 中内置了一个 EAR,它在 WAS 9 中完美运行,但如果我在 Java 9 中编译,EAR 将无法运行并抛出如下错误:
[17/05/22 16:19:56:214 CDT] 000000ad wtp W org.eclipse.jst.j2ee.commonarchivecore.internal.helpers.WARFileAnnotationsDetector locateAnnotations Failed to create class reader for [ WEB-INF/classes/com/ibatis/sqlmap/engine/mapping/sql/dynamic/DynamicSql.class ] in [ H2H.war ]: [ null ]
[17/05/22 16:19:56:214 CDT] 000000ad wtp W org.eclipse.jst.j2ee.commonarchivecore.internal.helpers.WARFileAnnotationsDetector locateAnnotations Failed to create class reader for [ WEB-INF/classes/com/back/auditoria/InsertAuditoriaADM.class ] in [ H2H.war ]: [ null ]
[17/05/22 16:19:56:214 CDT] 000000ad wtp W org.eclipse.jst.j2ee.commonarchivecore.internal.helpers.WARFileAnnotationsDetector locateAnnotations Failed to create class reader for [ WEB-INF/classes/com/back/auditoria/PistasAuditoria.class ] in [ H2H.war ]: [ null ]
[17/05/22 16:19:56:215 CDT] 000000ad wtp W org.eclipse.jst.j2ee.commonarchivecore.internal.helpers.WARFileAnnotationsDetector locateAnnotations Failed to create class reader for [ WEB-INF/classes/com/back/auditoria/SecurityPistas.class ] in [ H2H.war ]: [ null ]
[17/05/22 16:19:56:215 CDT] 000000ad wtp W org.eclipse.jst.j2ee.commonarchivecore.internal.helpers.WARFileAnnotationsDetector locateAnnotations Failed to create class reader for [ WEB-INF/classes/com/back/auditoria/Variables.class ] in [ H2H.war ]: [ null ]
[17/05/22 16:19:56:215 CDT] 000000ad wtp W org.eclipse.jst.j2ee.commonarchivecore.internal.helpers.WARFileAnnotationsDetector locateAnnotations Failed to create class reader for [ WEB-INF/classes/com/back/bd/PFIMonitorBD.class ] in [ H2H.war ]: [ null ]
WebSphere 9 是否支持 Java9?
The WebSphere Application Server V9 traditional 运行time does not 运行 on Java versions after 8. 如果要运行 on Java 11 , 17 或更高版本,那么您可以改用 WebSphere Liberty。