AEM bundle is in installed state due to io.jsonwebtoken package | Community
Skip to main content
kishore_polsani
New Participant
August 24, 2017
Solved

AEM bundle is in installed state due to io.jsonwebtoken package

  • August 24, 2017
  • 2 replies
  • 3534 views

Hi,

I have added io.jsonwebtoken (tried version 0.6.0 and 0.7.0) dependency in pom.xml, after maven build, bundle is in installed state and throwing below error.  Checked in depfinder, but not able to find any result. Any idea why bundle is in installed state?

<dependency>

   <groupId>io.jsonwebtoken</groupId>

   <artifactId>jjwt</artifactId>

   <version>0.6.0</version> <!-- tried 0.7.0 -->

</dependency>

Error Message:

*ERROR* [qtp248051158-118] org.apache.felix.http.jetty %bundles.pluginTitle: Cannot start (org.osgi.framework.BundleException: Unable to resolve com.kishore.json [472](R 472.4): missing requirement [com.kishore.json [472](R 472.4)] osgi.wiring.package; (&(osgi.wiring.package=io.jsonwebtoken)(version>=0.6.0)(!(version>=1.0.0))) Unresolved requirements: [[com.kishore.json [472](R 472.4)] osgi.wiring.package; (&(osgi.wiring.package=io.jsonwebtoken)(version>=0.6.0)(!(version>=1.0.0)))])

org.osgi.framework.BundleException: Unable to resolve com.kishore.json [472](R 472.4): missing requirement [com.kishore.json [472](R 472.4)] osgi.wiring.package; (&(osgi.wiring.package=io.jsonwebtoken)(version>=0.6.0)(!(version>=1.0.0))) Unresolved requirements: [[com.kishore.json [472](R 472.4)] osgi.wiring.package; (&(osgi.wiring.package=io.jsonwebtoken)(version>=0.6.0)(!(version>=1.0.0)))]

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by smacdonald2008

You need to add these JAR files into an OSGi bundle and deploy. Look at this community article and how we placed the SIMPLE JSON jar into an OSGi bundle and deployed.

Scott's Digital Community: Submitting Adobe Experience Manager form data to custom Sling Servlets

Once you have the JAR files, you can add them to a bundle using the Eclipse plug-in project as shown in the above article.

Hope this helps...

2 replies

smacdonald2008
New Participant
August 24, 2017

Then when you use Dep Finder - you will see a value!

smacdonald2008
smacdonald2008Accepted solution
New Participant
August 24, 2017

You need to add these JAR files into an OSGi bundle and deploy. Look at this community article and how we placed the SIMPLE JSON jar into an OSGi bundle and deployed.

Scott's Digital Community: Submitting Adobe Experience Manager form data to custom Sling Servlets

Once you have the JAR files, you can add them to a bundle using the Eclipse plug-in project as shown in the above article.

Hope this helps...