[jboss-osgi-issues] [JBoss JIRA] (JBOSGI-645) Cannot resolve Import-Package: org.acme.foo; version="0"

Hannu Lahtinen (JIRA) issues at jboss.org
Tue May 10 05:43:00 EDT 2016


    [ https://issues.jboss.org/browse/JBOSGI-645?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13203054#comment-13203054 ] 

Hannu Lahtinen commented on JBOSGI-645:
---------------------------------------

Hi,
I'm having the exact same issue that is described in the WFLY-151 bug. I'm trying to switch an old JBoss AS 7 project to Wildfly 10 and JBoss OSGi 2.5.1. I'm trying to add capability: org.springframework.core:3.2.3.RELEASE bundled by springsource. Has this bug reappeared?

> Cannot resolve Import-Package: org.acme.foo;version="0"
> -------------------------------------------------------
>
>                 Key: JBOSGI-645
>                 URL: https://issues.jboss.org/browse/JBOSGI-645
>             Project: JBoss OSGi
>          Issue Type: Bug
>          Components: framework
>            Reporter: Thomas Diesler
>            Assignee: Thomas Diesler
>             Fix For: JBossOSGi 2.0.0
>
>
> Cannot resolve
> {code}
>         // Bundle-SymbolicName: packageexportnoversion
>         // Export-Package: org.acme.foo
>         // Bundle-SymbolicName: packageimportversionzero
>         // Import-Package: org.acme.foo;version="0"
> {code}
> gives 
> {code}
> Unable to resolve AbstractBundleRevision[packageimportversionzero:0.0.0]: missing requirement XPackageRequirement[dirs={filter=(&(osgi.wiring.package=org.acme.foo)(version>=0.0.0))},[packageimportversionzero:0.0.0]]
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-osgi-issues mailing list