I use Eclipse Mars (latest version) to create an OSGI package with the Activator class. To do this, I use the Plug-In project, selecting "OSGI framework" in "standard" (but if I select "Equinox", I had the same result) when creating. The Activator class is empty, but the compiler is already causing the following errors:
Impossible to import org.osgi BundleActivator cannot be allowed for type BundleContext cannot be allowed for type
Why?
Thanks Paolo.
source share