An additional constructor was added to ServiceTracker
in release 4.3 (the one which takes a java.lang.Class
as its second argument). It's likely that you developed the bundle against a higher version of OSGi than is supported by NetBeans.
Normally this kind of error can be avoided with proper versioning. Your bundle should import the org.osgi.util.tracker package with version range [1.5,2.0)
as follows:
Import-Package: org.osgi.util.tracker; version="[1.5,2.0)"
If NetBeans does not support OSGi R4.3 (I'm not aware myself whether it does or not) then you should develop against R4.2 and avoid the additional methods which were added in 4.3.