Expand my Community achievements bar.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

This conversation has been locked due to inactivity. Please create a new post.

SOLVED

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

Avatar

Level 4

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)))]

1 Accepted Solution

Avatar

Correct answer by
Level 10

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...

View solution in original post

2 Replies

Avatar

Correct answer by
Level 10

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...

Avatar

Level 10

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