directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Seelmann (JIRA)" <>
Subject [jira] [Commented] (DIRSTUDIO-1068) Bundles are not resolved on Eclipse Mars
Date Sun, 30 Aug 2015 19:55:45 GMT


Stefan Seelmann commented on DIRSTUDIO-1068:

Wow, thanks you very much for the detailed diagnostics and description of the problem.

The slf4j-api 1.7.10 bundle is the original one, downloaded from maven central. this contains
the Import-Package statement. We should consider to exclude it and use the org.slf4j.api_1.7.2.v20121108-1250.jar
which seems to be modified bacause it lacks the Import-Package statement. Still the org.slf4j.LoggerFactory
class imports {{org.slf4j.impl.StaticLoggerBinder}}...

To test the changes checkout the Studio sources. Please see the developer guide
and the readme The main pom.xml already contains
the new LDAP API 1.0.0-M31 dependency. 

> Bundles are not resolved on Eclipse Mars
> ----------------------------------------
>                 Key: DIRSTUDIO-1068
>                 URL:
>             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";
>     import: (&(osgi.wiring.package=org.slf4j.helpers)(version>=1.7.0))
>      |{noformat}

This message was sent by Atlassian JIRA

View raw message