Hi

It was a problem with maven bundle plugin (version 2.5) . Its working fine
after version 3.0


On Sun, Jul 16, 2017 at 9:35 AM, Isuranga Perera <[email protected]>
wrote:

> 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/fae022e784d639820470820ff59af3
> 2f
> [2] https://gist.github.com/IsurangaPerera/8f8aa4bd6cfd7f54fb3b8293e50006
> 72
>
> Best Regards
>
> On Sun, Jul 16, 2017 at 5:02 AM, KasunG Gajasinghe <[email protected]>
> 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 <
>> [email protected]> 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
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to