jordigilh commented on PR #337:
URL: 
https://github.com/apache/incubator-kie-kogito-serverless-operator/pull/337#issuecomment-1874204183

   @ricardozanini Running the e2e test suite locally I'm getting an error for 
the existing e2e tests:
   ```
   $> kubectl logs -f greeting-748857df-6tztv -n sonataflow-operator-system
   Starting the Java application using 
/opt/jboss/container/java/run/run-java.sh ...
   INFO exec -a "java" java -Dquarkus.http.host=0.0.0.0 
-Djava.util.logging.manager=org.jboss.logmanager.LogManager -cp "." -jar 
/deployments/quarkus-run.jar
   INFO running in /deployments
   Exception in thread "main" java.lang.reflect.InvocationTargetException
        at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:566)
        at 
io.quarkus.bootstrap.runner.QuarkusEntryPoint.doRun(QuarkusEntryPoint.java:61)
        at 
io.quarkus.bootstrap.runner.QuarkusEntryPoint.main(QuarkusEntryPoint.java:32)
   Caused by: java.lang.UnsupportedClassVersionError: 
org/kie/kogito/addons/quarkus/k8s/config/KubernetesAddonConfigSource 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:1022)
        at 
io.quarkus.bootstrap.runner.RunnerClassLoader.loadClass(RunnerClassLoader.java:105)
        at 
io.quarkus.bootstrap.runner.RunnerClassLoader.loadClass(RunnerClassLoader.java:65)
        at 
io.quarkus.runtime.configuration.RuntimeConfigSource.getConfigSources(RuntimeConfigSource.java:19)
   ```
   
   Seems like the greetings container has been rebuilt for a newer version of 
Java.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to