[
https://issues.apache.org/jira/browse/KARAF-3030?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14027590#comment-14027590
]
ChengRen commented on KARAF-3030:
---------------------------------
I use jdk 1.7
-----原始邮件-----
发件人: "Freeman Fang (JIRA)" <[email protected]>
发送时间: 2014/6/11 15:00
收件人: "[email protected]" <[email protected]>
主题: [jira] [Commented] (KARAF-3030) Karaf doesn't supportRequire-Capability:
osgi.ee; filter="(&(osgi.ee=JavaSE)(version=1.7))
[
https://issues.apache.org/jira/browse/KARAF-3030?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14027494#comment-14027494
]
Freeman Fang commented on KARAF-3030:
-------------------------------------
Hi,
What's the JDK version you used to launch Karaf?
Freeman
--
This message was sent by Atlassian JIRA
(v6.2#6252)
.
> Karaf doesn't support Require-Capability: osgi.ee;
> filter="(&(osgi.ee=JavaSE)(version=1.7))
> -------------------------------------------------------------------------------------------
>
> Key: KARAF-3030
> URL: https://issues.apache.org/jira/browse/KARAF-3030
> Project: Karaf
> Issue Type: Bug
> Affects Versions: 3.0.1
> Reporter: ChengRen
>
> I have a bundle who's manifest contains osgi header:
> Require-Capability: osgi.ee; filter="(&(osgi.ee=JavaSE)(version=1.7))
> when i run the bundle in karaf 3.0.1, I got bundle can not be resolved error :
> Error executing command: Error executing command on bundles:
> Unable to execute command on bundle 182: The bundle
> "myproject.core.api_1.0.0.201405150206 [182]" could not be res
> olved. Reason: Missing Constraint: Require-Capability: osgi.ee;
> filter="(&(osgi.ee=JavaSE)(version=1.7))"
> When I check karaf config.properties, I found
> "org.osgi.framework.system.capabilities" property which export osgi.ee.
> Is this a karaf bug??
--
This message was sent by Atlassian JIRA
(v6.2#6252)