Oh, arg, I was wrong. It's still broken, even with the service
description bundle in the dependencies.



On Wed, Sep 2, 2015 at 8:55 PM, Benson Margulies <[email protected]> wrote:
> I found my own oversight.
>
> I had split off some utilities, and the utility bundle did not do:
>
> <dependency>
>     <groupId>org.apache.cxf</groupId>
>     <artifactId>cxf-rt-rs-service-description</artifactId>
>     <version>${cxf-version}</version>
> </dependency>
>
>
> On Wed, Sep 2, 2015 at 8:16 PM, Benson Margulies <[email protected]> wrote:
>> I built a simple prototype of a CXF JAX-RS web service with CXF 3.1.1
>> and Karaf 4.0.1 that worked great. So I moved on to flesh it out to
>> make a real application.
>>
>> I think that I'm installing just the same features into Karaf, but as
>> soon as I try to return a response, I'm rewarded with the backtrace
>> below. Clearly I've got something confused, but, what?
>>
>>
>>
>>
>> ava.lang.RuntimeException: java.lang.ClassNotFoundException:
>> org.glassfish.jersey.internal.RuntimeDelegateImpl not found by
>> javax.ws.rs-api [46]
>> at javax.ws.rs.ext.RuntimeDelegate.findDelegate(RuntimeDelegate.java:152)
>> at javax.ws.rs.ext.RuntimeDelegate.getInstance(RuntimeDelegate.java:120)
>> at javax.ws.rs.core.Response$ResponseBuilder.newInstance(Response.java:848)
>> at javax.ws.rs.core.Response.status(Response.java:590)
>> at javax.ws.rs.core.Response.status(Response.java:601)
>> at javax.ws.rs.core.Response.ok(Response.java:622)
>> at 
>> com.basistech.ws.frontend.util.JsonResponseUtils.returnJsonResponse(JsonResponseUtils.java:59)
>> at 
>> com.basistech.ws.frontend.service.RaasRsPingService.ping(RaasRsPingService.java:60)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.8.0_05]
>> at 
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[:1.8.0_05]
>> at 
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.8.0_05]
>> at java.lang.reflect.Method.invoke(Method.java:483)[:1.8.0_05]
>> at 
>> org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:180)[75:org.apache.cxf.cxf-core:3.1.1]
>> at 
>> org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:96)[75:org.apache.cxf.cxf-core:3.1.1]
>> at 
>> org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:200)[88:org.apache.cxf.cxf-rt-frontend-jaxrs:3.1.1]

Reply via email to