[
https://issues.apache.org/jira/browse/CAMEL-22536?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18029732#comment-18029732
]
Claus Ibsen commented on CAMEL-22536:
-------------------------------------
[~fmariani] okay so this seems to be a problem with the
[https://github.com/apache/camel-spring-boot/commit/c13812886519ab8ca4bf91baf793283710f4067a]
Because of that maven profile in spring-boot that gets activated due to JDK21
then it causes the release build to be JDK21 only.
I think this test should be moved to its own seperated module in the tests
folder.
> 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: Claus Ibsen
> Priority: Minor
> 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)