简体   繁体   中英

Does WebSphere 9 support Java 9?

I have an EAR built in Java 8 and it works perfectly in WAS 9, but if I compile in Java 9, the EAR doesn't work and throws errors like these:

[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 ]

Does WebSphere 9 support Java 9?

WebSphere Application Server V9 传统运行时无法在 Java 8 之后的版本上运行。如果您想在 Java 11、17 或更高版本上运行,则可以改用 WebSphere Liberty。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM