Re: camel-jetty component for camel 4.0.3 : issue while starting app
Happy to help! Il mar 12 dic 2023, 17:23 Ghassen Kahri ha scritto: > That works for me. > Thanks > > On Tue, Dec 12, 2023, 16:30 Andrea Cosentino wrote: > > > 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 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.()' > > > (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) > > > > > >
Re: camel-jetty component for camel 4.0.3 : issue while starting app
That works for me. Thanks On Tue, Dec 12, 2023, 16:30 Andrea Cosentino wrote: > 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 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.()' > > (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) > > >
Re: camel-jetty component for camel 4.0.3 : issue while starting app
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 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.()' > (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) >
camel-jetty component for camel 4.0.3 : issue while starting app
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.()' (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)