Hi all,

I am trying to use the dependency [1] for OpenID Connect Handler project.
Below [2] commit contains the code I used for the project implementation.

How ever when I built the project using "maven package install", the build
was successful. After that when I tried to launch the Sling pack I got an
error.

31.05.2018 14:42:00.638 *ERROR* [FelixStartLevel] ERROR: Bundle '164' Error
> starting inputstream:org.apache.sling.auth.oidc.core-1.0.0-SNAPSHOT.jar
> (org.osgi.framework.BundleException: Unable to resolve
> org.apache.sling.auth.oidc.core [164](R 164.28): missing requirement
> [org.apache.sling.auth.oidc.core [164](R 164.28)] osgi.wiring.package;
> (&(osgi.wiring.package=com.nimbusds.oauth2.sdk)(version>=5.61.0)(!(version>=6.0.0)))
> Unresolved requirements: [[org.apache.sling.auth.oidc.core [164](R 164.28)]
> osgi.wiring.package;
> (&(osgi.wiring.package=com.nimbusds.oauth2.sdk)(version>=5.61.0)(!(version>=6.0.0)))])
> org.osgi.framework.BundleException: Unable to resolve
> org.apache.sling.auth.oidc.core [164](R 164.28): missing requirement
> [org.apache.sling.auth.oidc.core [164](R 164.28)] osgi.wiring.package;
> (&(osgi.wiring.package=com.nimbusds.oauth2.sdk)(version>=5.61.0)(!(version>=6.0.0)))
> Unresolved requirements: [[org.apache.sling.auth.oidc.core [164](R 164.28)]
> osgi.wiring.package;
> (&(osgi.wiring.package=com.nimbusds.oauth2.sdk)(version>=5.61.0)(!(version>=6.0.0)))]
>     at
> org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4149)
>     at org.apache.felix.framework.Felix.startBundle(Felix.java:2119)
>     at
> org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1373)
>     at
> org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)
>     at java.lang.Thread.run(Thread.java:748)
>

[1] - https://mvnrepository.com/artifact/com.nimbusds/oauth2-oidc-sdk/5.62
[2] -
https://github.com/apache/sling-whiteboard/pull/14/commits/7b61dcfa1301d08db3dd2504d45cce3415caf25d

Thank you.

-- 
*Hasini Witharana*
Undergraduate | Department of Computer Science and Engineering
University of Moratuwa
Linkedin <https://www.linkedin.com/in/hasini-witharana-185785109/>

Reply via email to