-
Bug
-
Resolution: Done
-
Critical
-
2.2.3.CR5
-
False
-
False
-
+
-
This issue is blocker because affect to all users and also blocks `QUARKUS-728`
When you create an application with JDK17 and then try to deploy to Openshift by s2i, the app is deployed but the start-up process fails:
Caused by: java.lang.UnsupportedClassVersionError: org/acme/rest/GreetingResource has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 55.0 at java.base/java.lang.ClassLoader.defineClass1(Native Method) at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1017) at io.quarkus.bootstrap.runner.RunnerClassLoader.loadClass(RunnerClassLoader.java:96) at io.quarkus.bootstrap.runner.RunnerClassLoader.loadClass(RunnerClassLoader.java:56) at java.base/java.lang.Class.forName0(Native Method) at java.base/java.lang.Class.forName(Class.java:398) at org.acme.rest.GreetingResource_Bean.<init>(GreetingResource_Bean.zig:48) at io.quarkus.arc.setup.Default_ComponentsProvider.addBeans1(Default_ComponentsProvider.zig:246) at io.quarkus.arc.setup.Default_ComponentsProvider.getComponents(Default_ComponentsProvider.zig:38) at io.quarkus.arc.impl.ArcContainerImpl.<init>(ArcContainerImpl.java:116) at io.quarkus.arc.Arc.initialize(Arc.java:20) ... 19 more
Seems that the app is compiled with JDK17 but the docker image use JDK11
- blocks
-
QUARKUS-728 Add support for OpenJDK 17
- Closed
-
QUARKUS-1472 Java version support in tooling
- Closed
- is related to
-
QUARKUS-1595 Openshift s2i deployment with JDK17 Doc
- Closed