Hi Davi, On Thu, 2019-04-04 at 11:19 -0300, Davi Baldin Tavares wrote: > Hello, > > I’m trying to move to DS Annotation. > > My Class: > > import org.osgi.service.component.annotations.Component; > > @Component(name = "ZPluginProvider Service", immediate = true, > service = ZPluginProvider.class) > public class ZPluginProvider { … } > > I’ve deployed these bundles: > > org.apache.felix.scr-2.1.16 > org.apache.felix.scr.annotations-1.12.0 > org.apache.felix.scr.ds-annotations-1.2.10 > org.osgi.util.function-1.1.0 > org.osgi.util.promise-1.1.1
You don't need the annotation bundles deployed, they are only used at build time. It should be enough to remove the two annotation bundles and your setup whould work. Robert --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@felix.apache.org For additional commands, e-mail: users-h...@felix.apache.org