I have mina-core.jar in my server's repository/usr. It exports org.apache.mina.core.buffer (2.0.4) and other packages.
I also have a project with "EclipseRT OSGi Bundle" facet, runtime pointing to this server, and "Bundle Dependencies" container in the build path. However, Bundle Dependencies doesn't appear in Package Explorer, and when trying to build it, I get the error "No available bundle exports package 'org.apache.mina.core.buffer'".
If the bundle dependencies node isn't showing in the project or package explorer than it is likely a bug (unless you have it flittered or something) so if it seems that it isn't and should be, please report it.
Hi, I am having the same problem, eclipse by default filters out empty library containers such that the Bundle Dependencies classpath is not shown if it is empty. So the problem is the Bundle Dependencies classpath being empty.
One possible fix is to go into project properties, and select the Targeted Runtimes page. There's a chance that the project is no longer configured to target a Virgo runtime, or is targeting one that is not longer properly set up. If you select a valid Virgo runtime from this dialog Eclipse will update your project's class paths, and that will hopefully fix your Bundle Dependencies entries.