directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Munteanu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DIRSTUDIO-1068) Bundles are not resolved on Eclipse Mars
Date Thu, 27 Aug 2015 20:09:46 GMT

    [ https://issues.apache.org/jira/browse/DIRSTUDIO-1068?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14717428#comment-14717428
] 

Robert Munteanu commented on DIRSTUDIO-1068:
--------------------------------------------

I am running Eclipse Java EE IDE for Web Developers:

# Version: Mars Release (4.5.0)
# Build id: 20150621-1200

But I've also installed the PHP tools in it. The slf4j-related bundles that I could find are

{noformat}osgi> lb slf4j
START LEVEL 6
   ID|State      |Level|Name
  872|Resolved   |    4|SLF4J API (1.7.2.v20121108-1250)
  873|Resolved   |    1|SLF4J LOG4J-12 Binding (1.7.2.v20131105-2200)
 1568|Resolved   |    1|Logback Native SLF4J Logger (1.0.7.v201505121915)
 1648|Resolved   |    4|slf4j-simple for use in m2e embedded maven runtime  (1.6.0.20150526-2031)
 1948|Installed  |    4|slf4j-api (1.7.10)
{noformat}

The last bundle only appears after install Directory Studio.


> Bundles are not resolved on Eclipse Mars
> ----------------------------------------
>
>                 Key: DIRSTUDIO-1068
>                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-1068
>             Project: Directory Studio
>          Issue Type: Bug
>          Components: studio-updatesite
>            Reporter: Robert Munteanu
>         Attachments: eclipse-mars-error.log
>
>
> I have an Eclipse Mars install and installed Directory Studio using the Eclipse Marketplace.
> After the installation is performed I have multiple error FrameworkEvents logged regarding
bundle installations. All of them bubble down to a uses constraint violation.
> {noformat} Bundle was not resolved because of a uses contraint violation.
>   org.osgi.service.resolver.ResolutionException: Uses constraint violation. Unable to
resolve resource slf4j.api [osgi.identity; osgi.identity="slf4j.api"; type="osgi.bundle";
version:Version="1.7.10"] because it exports package 'org.slf4j.helpers' and is also exposed
to it from resource org.slf4j.api [osgi.identity; osgi.identity="org.slf4j.api"; type="osgi.bundle";
version:Version="1.7.2.v20121108-1250"] via the following dependency chain:
>   slf4j.api [osgi.identity; osgi.identity="slf4j.api"; type="osgi.bundle"; version:Version="1.7.10"]
>     import: (&(osgi.wiring.package=org.slf4j.impl)(version>=1.6.0))
>      |
>     export: osgi.wiring.package=org.slf4j.impl; uses:=null
>   org.slf4j.api [osgi.identity; osgi.identity="org.slf4j.api"; type="osgi.bundle"; version:Version="1.7.2.v20121108-1250"]
>     require: (&(osgi.wiring.bundle=ch.qos.logback.classic)(&(bundle-version>=1.0.7)(!(bundle-version>=1.0.8))))
>      |
>     provide: osgi.wiring.bundle; bundle-version:Version="1.0.7.v20121108-1250"; osgi.wiring.bundle="ch.qos.logback.classic"
>   ch.qos.logback.classic [osgi.identity; osgi.identity="ch.qos.logback.classic"; type="osgi.bundle";
version:Version="1.0.7.v20121108-1250"]
>     import: (&(osgi.wiring.package=org.slf4j.helpers)(version>=1.7.0))
>      |{noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message