[
https://issues.apache.org/jira/browse/CAMEL-22536?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Federico Mariani resolved CAMEL-22536.
--------------------------------------
Resolution: Fixed
> camel-spring-boot - Seems to not support and run on JDK 17
> ----------------------------------------------------------
>
> Key: CAMEL-22536
> URL: https://issues.apache.org/jira/browse/CAMEL-22536
> Project: Camel
> Issue Type: Bug
> Components: camel-spring-boot
> Affects Versions: 4.15.0
> Reporter: Philippe Brossier
> Assignee: Federico Mariani
> Priority: Major
> Fix For: 4.16.0
>
>
> 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)