Re: [Dev] OSGI error Unresolved requirement: Import-Package: org.wso2.uri.template;

2016-11-08 Thread Fazlan Nazeem
I don't think the build_jdk matters. Can you edit the manifest to remove the space and then check whether the commons bundle gets resolved? On Wed, Nov 9, 2016 at 9:49 AM, Ishara Cooray wrote: > It is there in export packages as below. > I am quite not sure whether the space

Re: [Dev] OSGI error Unresolved requirement: Import-Package: org.wso2.uri.template;

2016-11-08 Thread Ishara Cooray
It is there in export packages as below. I am quite not sure whether the space marked in red matters or it could be due to Build-Jdk: 1.6.0_45 because i am using java 1.8 Manifest-Version: 1.0 Export-Package: org.wso2.uri.template.parser;uses:="org.wso2.uri.templ

Re: [Dev] OSGI error Unresolved requirement: Import-Package: org.wso2.uri.template;

2016-11-08 Thread Fazlan Nazeem
Hi Ishara, Can you check whether wso2-uri-templates_1.6.5 bundle is exporting the correct package in its manifest. It has to export org.wso2.uri.template.* On Wed, Nov 9, 2016 at 5:17 AM, Ishara Cooray wrote: > > Thanks for the reply Bhathiya. > > Yes , i have the

Re: [Dev] OSGI error Unresolved requirement: Import-Package: org.wso2.uri.template;

2016-11-08 Thread Danushka Fernando
Probably org.wso2.uri.template component has a problem. Even though it shows as active could be the case. Thanks & Regards Danushka Fernando Senior Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Wed, Nov 9, 2016 at 5:17 AM, Ishara Cooray wrote: > >

Re: [Dev] OSGI error Unresolved requirement: Import-Package: org.wso2.uri.template;

2016-11-08 Thread Ishara Cooray
Thanks for the reply Bhathiya. Yes , i have the *org.wso2.uri.template imported *with the version and i have not used resolution: optional. ... org.wso2.uri.template.*; version="${uri.template.version}" 1.6.5 Thanks & Regards, Ishara Cooray Senior Software Engineer Mobile : +9477

Re: [Dev] OSGI error Unresolved requirement: Import-Package: org.wso2.uri.template;

2016-11-08 Thread Bhathiya Jayasekara
Hi Ishara, What are the osgi imports you have in rest.api.commons pom? If rest.api.commons needs *org.wso2.uri.template* package to be imported, you have to import it with a proper version range. Instead, if you have *resolution: optional,* AFAIK it will look for a particular version only. If

[Dev] OSGI error Unresolved requirement: Import-Package: org.wso2.uri.template;

2016-11-08 Thread Ishara Cooray
Hi, I am getting below error[1] at server startup but when i check the osgi bundle for it's status it is in active state. 78ACTIVE wso2-uri-templates_1.6.5 [1] org.osgi.framework.BundleException: Could not resolve module: org.wso2.carbon.apimgt.rest.api.commons [79] Unresolved