amergey opened a new issue, #709:
URL: https://github.com/apache/camel-karaf/issues/709

   Switching to latest 4.18 version of camel-cxf-all we can see this :
   ```
   java.lang.NoClassDefFoundError: 
org/springframework/http/server/observation/ServerRequestObservationContext
       at 
org.apache.cxf.jaxrs.springmvc.SpringWebUtils.setHttpRequestURI(SpringWebUtils.java:51)
       at 
org.apache.cxf.jaxrs.utils.HttpUtils.setHttpRequestURI(HttpUtils.java:382)
       at 
org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor.setExchangeProperties(JAXRSInInterceptor.java:246)
       at 
org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor.processRequest(JAXRSInInterceptor.java:183)
       at 
org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor.handleMessage(JAXRSInInterceptor.java:78)
       at 
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:307)
       at 
org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
       at 
org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:267)
       at 
org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:233)
       at 
org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:207)
       at 
org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:159)
       at 
org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:224)
       at 
org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:312)
       at 
org.apache.cxf.transport.servlet.AbstractHTTPServlet.doGet(AbstractHTTPServlet.java:222)
       at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:527)
       at 
org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:279)
       at 
org.eclipse.rap.http.servlet.internal.registration.EndpointRegistration.service(EndpointRegistration.java:154)
       at 
org.eclipse.rap.http.servlet.internal.servlet.FilterChainImpl.doFilter(FilterChainImpl.java:53)
       at 
org.springframework.security.web.FilterChainProxy.lambda$doFilterInternal$3(FilterChainProxy.java:231)
       at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:370)
   Caused by: java.lang.ClassNotFoundException: 
org.springframework.http.server.observation.ServerRequestObservationContext 
cannot be found by camel-cxf-all_4.18.2
   ```
   
   It seems **org.springframework.http** import is missing in  
**<camel.osgi.import>**  from 
https://github.com/apache/camel-karaf/blob/main/components/camel-cxf/camel-cxf-all/pom.xml


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to