Have you tried configuring your jaxrs server address to "/"? Something like this:
<jaxrs:server id="jaxrs" address="http://0.0.0.0:8080/"> </jaxrs:server> Regards, Allan C. On Thu, Jun 30, 2016 at 1:28 PM, Artur Lojewski <lojew...@gmail.com> wrote: > Hi, > > I am implementing a REST service with Apache Karaf 4.0.5 with JAX-RS > annotations only, i.e. no web.xml. My implementation uses the > @ApplicationPath("/abc") and @Path("/def") annotations. > > When I deploy my bundle into Karaf I can successfully access the service > via > > http://localhost/services/abc/def > > However, I want > > http://localhost/abc/def > > It seems like my implementation missed something. I assumed that > @ApplicationPag("abc") should be sufficient, but it does not. > > Can anybody give me a hint how this can be fixed? > > > Best Regards, > > Artur > > > > > > -- > View this message in context: > http://karaf.922171.n3.nabble.com/JAX-RS-Annotations-and-Apache-Karaf-4-0-5-tp4047001.html > Sent from the Karaf - User mailing list archive at Nabble.com. >