Hi KasunG, [1] is the source of my micro-service. But I haven't miss the @Path annotation. Therefore *svc.getClass() *should be the cause for* NullPointerException *not svc.getClass().*getAnnotation(Path.class). *If that is the case then the problem should be with my* POM *[2] .
Appreciate any help on the matter. [1] https://gist.github.com/IsurangaPerera/fae022e784d639820470820ff59af32f [2] https://gist.github.com/IsurangaPerera/8f8aa4bd6cfd7f54fb3b8293e5000672 Best Regards On Sun, Jul 16, 2017 at 5:02 AM, KasunG Gajasinghe <kas...@wso2.com> wrote: > Hi Isuranga, > > Can you point to the source of your micro service? > > It seems like you may have missed to include the @Path annotation. [1] > > [1] https://github.com/wso2/msf4j/blob/master/core/src/main/ > java/org/wso2/msf4j/internal/MicroservicesRegistryImpl.java#L76 > > On Sun, Jul 16, 2017 at 12:50 AM, Isuranga Perera < > isurangamper...@gmail.com> wrote: > >> Hi, >> >> I got this issue while trying to deploy an OSGI service component on IS6 >> m2. Appreciate any help. >> >> Best Regards >> Isuranga Perera >> > > > > -- > > *Kasun Gajasinghe*Associate Technical Lead, WSO2 Inc. > email: kasung AT spamfree wso2.com > linked-in: http://lk.linkedin.com/in/gajasinghe > blog: http://kasunbg.org > phone: +1 650-745-4499 <(650)%20745-4499>, 77 678 0813 > >
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev