Camel supporting spring boot 3.2.0 will be 4.3.0, you need to use the Spring boot version coming with camel 4.0.3 I think it is 3.1.6.
Il mar 12 dic 2023, 16:19 Ghassen Kahri <ghassen.ka...@codeonce.fr> ha scritto: > Hi community, > I'm trying to create a rest controller for my camel project, for this i'm > using jetty component (same version as camel -> 4.0.3). > I'm facing an understandable problem while starting the project : > > java.lang.IllegalAccessError: class > org.apache.camel.component.jetty.JettyHttpComponent tried to access > protected method 'void > org.eclipse.jetty.server.Handler$AbstractContainer.<init>()' > (org.apache.camel.component.jetty.JettyHttpComponent and > org.eclipse.jetty.server.Handler$AbstractContainer are in unnamed module of > loader 'app') > > *my environment :* > Camel version: 4.0.3 > Spring Boot version: 3.2.0 > JDK: open JDK 17 > Platform: ubuntu 20.04.6 LTS > IDE: IntelliJ IDEA 2023.1.3 (Ultimate Edition) >