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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.