Hi Rob,

On Tue, Mar 19, 2013 at 1:44 PM, Robert A. Decker <[email protected]> wrote:
> ...when I use activemq-core or activemq-osgi, I get the error:
> Caused by: java.lang.ClassNotFoundException: 
> javax.management.j2ee.statistics.Stats not found by iarpa-messaging [115]..

That's probably because the javax.management package is imported with
resolution:=optional in the bundle that uses it.

The bundle will then start as its required, assuming its other
required imports are satisfied, and it's only when code actually uses
the missing class that you get the error.

Anyway, it looks like you've solved that one now, just wanted to
explain why the bundle starts even if some packages are missing.

-Bertrand

Reply via email to