What does "The package 'javax.xml.bind' is inside a non-bundle dependency" warning mean?


When I run the code inspection I get several of these warnings, but I don't really know what they mean. My project builds fine so it doesn't seem like a warning I should be concerned about, but I'd like to be sure. Any ideas?

1 comment
Comment actions Permalink

It's reported by the "Package accessibility" inspection:

This inspections reports usage of classes from packages not accessible inside the OSGi context - i.e. those located in .jar files not packaged as bundles, or not exported by bundles, or not imported in manifest file (if applicable). Asking for such a classes may cause "class not found" exceptions at runtime.


Please sign in to leave a comment.