essobedo commented on PR #563: URL: https://github.com/apache/camel-karaf/pull/563#issuecomment-2550799196
It seems to have an impact on the camel-cxf integration test as `camel-http-common` is a dependency of `camel-cxf-transport` which is part of `camel-cxf-all`. In the log of the build, I can see: ``` 2024-12-17T17:49:09.8162474Z Caused by: java.lang.ClassNotFoundException: javax.servlet.http.HttpServletRequest not found by camel-http-common [202] 2024-12-17T17:49:09.8163371Z at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1591) ~[?:?] 2024-12-17T17:49:09.8164082Z at org.apache.felix.framework.BundleWiringImpl.access$300(BundleWiringImpl.java:79) ~[?:?] 2024-12-17T17:49:09.8164739Z at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:1976) ~[?:?] 2024-12-17T17:49:09.8165305Z at java.lang.ClassLoader.loadClass(ClassLoader.java:525) ~[?:?] 2024-12-17T17:49:09.8165871Z at org.apache.camel.http.common.HttpConverterLoader.registerConverters(HttpConverterLoader.java:49) ~[?:?] 2024-12-17T17:49:09.8166546Z at org.apache.camel.http.common.HttpConverterLoader.load(HttpConverterLoader.java:43) ~[?:?] 2024-12-17T17:49:09.8167164Z at org.apache.camel.karaf.core.Activator$BundleTypeConverterLoader.load(Activator.java:467) ~[?:?] 2024-12-17T17:49:09.8167806Z at org.apache.camel.karaf.core.OsgiTypeConverter.addingService(OsgiTypeConverter.java:77) ~[?:?] ``` Since `javax.servlet` is an optional import `camel-http-common`, I guess that adding the installation of the corresponding bundle in this method https://github.com/apache/camel-karaf/blob/main/tests/features/camel-cxf/src/test/java/org/apache/karaf/camel/itest/CamelCxfITest.java#L104 should do the trick -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org