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

  • Home
  • SEARCH
  • 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 995949
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T06:48:06+00:00 2026-05-16T06:48:06+00:00

I try to install a bundle in an OSGi environment (FUSE ESB) but do

  • 0

I try to install a bundle in an OSGi environment (FUSE ESB) but do not manage to get it resolved. The error message is:

The bundle could not be resolved. Reason: Package uses conflict: Import-Package: de.foo.bar; version="0.0.0"

My bundle imports the package de.foo.bar.
The bundle which exports the package de.foo.bar does this with a ‘uses’ directive.

Export-Package = de.foo.bar;uses:="{other packages}";version="2.4.0"

As I understood I have to ensure that my bundle must import all other packages mentioned in the ‘uses’ directive of the de.foo.bar package (in the right version).

I checked this and also tried several version changes (0.0.0 and the real version numbers) but can not get it to work.

So, what does the error message realy means (maybe I understood it wrong)? What do I have to check?

Thanks for any help

Klaus


System Information:

  • FUSE ESB 4.2.0 (based on servicemix)
  • using maven-bundle-plugin 2.1.0 to generate OSGi MANIFEST header
  • 1 1 Answer
  • 1 View
  • 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-05-16T06:48:07+00:00Added an answer on May 16, 2026 at 6:48 am

    I finally found what was wrong.

    My bundle is a Spring Dynamic Module bundle and I did a mistake in the spring bean configuration (use a ‘ref’ instead a ‘value’ in a constructor-arg). Normally spring configuration errors are reported as such – I do not know why the current error resulted in the misleading message.

    EDIT:

    The faulty Spring configuration does not cause the uses conflict. It finally was the import of the package org.apache.log4j which is exported by different bundles (in my FUSE ESB container) and apparently was different wired to the bundles I tried to install.

    Trying to solve my problem I found the article Diagnosing OSGi uses conflicts which I found helpfull to understand the problem.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am try hosting_barthez@lithium:~/projects/taxes/current$ bundle install /usr/lib/ruby/1.8/rubygems.rb:900:in `report_activate_error': Could not find RubyGem bundler (>=
When I do Bundle Install, I get following error: Installing mysql2 (0.3.10) with native
When i try to run bundle install, i got this error : Installing hiredis
I try to run spec tests and I get bundle exec rake spec Could
I try command bundle install --local but it show issue: -bash: /usr/local/bin/bundle: /usr/local/bin/ruby: bad
Whenever I try to install a Click Once application, I always get a 404
I'm getting the following error when I try to install one of my ClickOnce
I went to http://www.asp.net/mvc/ to try to install ASP.NET MVC. I didn't know, but
I'm getting the following error when I try to install mod_wsgi ./configure checking for
When I try to install a new instance of SQL Server 2008 Express on

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.