[Occurrence condition]
- A project using TERASOLUNA Server Framework for Java (5.x) is being developed.
- The above project is built (compiled) with Java 21 using e Builder.
If the above conditions are met, the following error will occur when starting the AP server.
Error message:
java.lang.IllegalArgumentException: Unsupported class file major version 65
[Cause]
This is because the version of Spring Framework that TERASOLUNA Server Framework 5.x depends on does not support materials built with Java 21.
[Workaround]
Set the version of Java used to build and compile projects from Java 21 to Java 8, 11, or 17.
■ intra-mart e Builder for Accel Platform Setup Guide
Configuring the Java Development Environment (JDK) and Java Runtime Environment (JRE)
・Various settings - Project settings [Java build path]-[Library]
・Various settings - Project settings [Java compiler]-[JDK compliant]
https://document.intra-mart.jp/library/ebuilder/public/e_builder_setup_guide/texts/jre/index.html
[Notes]
The e Builder for Accel Platform 2025 Spring itself functions without problems on Java 21. You can continue to use it.
Please only change the version of Java used to build (compile) projects.
--Target-------------------------------------------------------------------------
iAP/Accel Extensions/intra-mart e Builder for Accel Platform/2025 Spring or later
--------------------------------------------------------------------------------
FAQID:1382
When building TERASOLUNA Server Framework for Java (5.x) project with Java 21, "java.lang.IllegalArgumentException" occurs.
