Re: Karaf 4.2.12 and Java 8: Failure to Resolve javax.activation Framework

2021-12-22 Thread Ralf Steppacher
Hello JB, thank you for your help! The application is built with Java 8 and deploys fine if the Karaf runtime is Java 11, but runs into the deployment issue if the Karaf runtime is Java 8. We specifically picked Karaf 4.2 as it is supposed to support Java 8. And Camel 2.25 is Java 8 only as

Re: Karaf 4.2.12 and Java 8: Failure to Resolve javax.activation Framework

2021-12-21 Thread Jean-Baptiste Onofre
Hi Ralf, Are you using JDK8 or JDK11 ? Jakarta Activation 1.2.2 bundle seems to require Java >= 9. You have two options: - wrap the bundle to remove ee requirement header (I did that in ActiveMQ bundles for instance) - upgrade to Java 11 ;) Regards JB > Le 21 déc. 2021 à 15:56, Ralf Steppache

Karaf 4.2.12 and Java 8: Failure to Resolve javax.activation Framework

2021-12-21 Thread Ralf Steppacher
Hello all, I am trying to migrate an application from Karaf 4.0 to Karaf 4.2.12, Camel 2.25, and Spring 5.3. Things work alright as long as I use Java 11 as the runtime, but the application fails to resolve its activation framework dependency as soon as I use Java 8 as the runtime because the