Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7721623
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T03:58:14+00:00 2026-06-01T03:58:14+00:00

I am trying to use Jersey through OSGi (Karaf, specifically). To do this, I

  • 0

I am trying to use Jersey through OSGi (Karaf, specifically). To do this, I downloaded this bundle jar from Maven and put it into my Karaf deploy directory. However, when I tried to start the bundle, it was unable to resolve any of it’s dependancies. It also seemed to be looking for version 0.0.0 of each dependancy, which seems wrong.

What’s the best way to get this bundle into my project? Do you I have to manually download all the dependancies, or can I use some existing OBR that has this bundle? Where would I find this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T03:58:15+00:00Added an answer on June 1, 2026 at 3:58 am

    I used Jersey with Karaf without problem using this dependencies instead of jersey-bundle:

    <!-- Jersey -->
    <dependency>
        <groupId>com.sun.jersey</groupId>
        <artifactId>jersey-core</artifactId>
        <version>1.12</version>
    </dependency>
    
    <dependency>
        <groupId>com.sun.jersey</groupId>
        <artifactId>jersey-server</artifactId>
        <version>1.12</version>
    </dependency>
    
    <dependency>
        <groupId>com.sun.jersey</groupId>
        <artifactId>jersey-json</artifactId>
        <version>1.12</version>
    </dependency>   
    
    <dependency>
        <groupId>javax.ws.rs</groupId>
        <artifactId>jsr311-api</artifactId>
        <version>1.1.1</version>
    </dependency> 
    

    I’ve tested now on the last Karaf Apache console and this worked for me:

    $ bin/karaf
      Apache Karaf (2.2.5)
    
    karaf@root> install mvn:com.sun.jersey/jersey-core/1.12
    Bundle ID: 49
    karaf@root> install mvn:com.sun.jersey/jersey-server/1.12
    Bundle ID: 50
    karaf@root> install mvn:javax.ws.rs/jsr311-api/1.1.1
    Bundle ID: 51
    karaf@root> install mvn:com.sun.jersey/jersey-json/1.12
    Bundle ID: 52
    karaf@root> install mvn:org.codehaus.jackson/jackson-core-asl/1.9.5
    Bundle ID: 53
    karaf@root> install mvn:org.codehaus.jackson/jackson-jaxrs/1.9.5
    Bundle ID: 54
    karaf@root> install mvn:org.codehaus.jackson/jackson-mapper-asl/1.9.5
    Bundle ID: 55
    karaf@root> install mvn:org.codehaus.jettison/jettison/1.1
    Bundle ID: 56
    karaf@root> start 49 50 51 52 53 54 55 56
    karaf@root> list 
       ID   State         Blueprint      Level  Name
    [  49] [Active     ] [            ] [   60] jersey-core (1.12)
    [  50] [Active     ] [            ] [   60] jersey-server (1.12)
    [  51] [Active     ] [            ] [   60] jsr311-api (1.1.1)
    [  52] [Active     ] [            ] [   60] jersey-json (1.12)
    [  53] [Active     ] [            ] [   60] Jackson JSON processor (1.9.5)
    [  54] [Active     ] [            ] [   60] JAX-RS provider for JSON content type, using Jackson data binding (1.9.5)
    [  55] [Active     ] [            ] [   60] Data mapper for Jackson JSON processor (1.9.5)
    [  56] [Active     ] [            ] [   60] jettison (1.1)
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to use Jersey as a client for a RESTful application. Specifically I'd
I'm trying use to selenium with firefox on CentOS from command line like this:
i'm trying use webview to load a image from sdcard i use this path
I'm trying use this code to get image resolution from file bool GetImageSizeEx(const char
Can anybody tell exactly use of Response.seeOther(...) in jersey i am trying to use
I'm trying use mod_rewrite to rewrite URLs from the following: http://www.site.com/one-two-file.php to http://www.site.com/one/two/file.php The
Trying to use this method (gist of which is use self.method_name in the FunnyHelper
I am trying use MySql and Entity Framework, using Connector/Net 6.1 with this as
I am trying use std::copy to copy from two different iterator. But during course
Im currently working on a JPA Jersey Servlet and Im trying to use Guice

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.