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)))]
Solved! Go to Solution.
Views
Replies
Total Likes
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...
Views
Replies
Total Likes
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...
Views
Replies
Total Likes
Then when you use Dep Finder - you will see a value!
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies