Using an exact version of a package in OSGi environment

Solution Verified - Updated -

Issue

There is a packageName deployed in the same OSGi container as a dependency, but in case of using this package by bundleName the following exception is thrown:

java.lang.ClassNotFoundException: packageName not found by bundleName

Environment

JBoss Fuse 6.2.1
JBoss Fuse 6.3

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content