Philippe Brossier created CAMEL-22536:
-----------------------------------------

             Summary: camel-jackson-starter 4.15.0 fails when used with Java 17
                 Key: CAMEL-22536
                 URL: https://issues.apache.org/jira/browse/CAMEL-22536
             Project: Camel
          Issue Type: Bug
          Components: camel-jackson
    Affects Versions: 4.15.0
            Reporter: Philippe Brossier


We use Java 17 and a few org.apache.camel dependencies. All works OK with 
version 4.14.1. When moving to 4.15.0, there is an issue with 
org.apache.camel.springboot:camel-jackson-starter where we get the following 
exception at startup (our library is plugged into a Spring Boot app):
Caused by: java.lang.UnsupportedClassVersionError: 
org/apache/camel/spring/boot/CamelVirtualThreadEnvironmentPostProcessor has 
been compiled by a more recent version of the Java Runtime (class file version 
65.0), this version of the Java Runtime only recognizes class file versions up 
to 61.0
 
If we revert camel-jackson-starter only to 4.14.1, all works fine.
 
Raising this issue as https://camel.apache.org/releases/release-4.15.0/ says 
that it supports Java 17 & 21.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to