Hi Everyone,
I have tried to add the maven dependency for Azure Java API, and also embedded these dependencies at bundle classpath and fixed some issues coming in Imported-Packages by excluding them and adding some required packages in Export-Packages, but then it's giving the NoClassDefFoundError for the IdentityClient Class.
Maven Dependency in core/POM.XML
BND-Maven Plugin Configurations
Exception (Servlet where I'm using this to create a new user in Azure AD)
Bundle Status
Can anyone give any suggestions for this?
Solved! Go to Solution.
Views
Replies
Total Likes
Hi @mayank0928,
You can make use of maven-bundle-plugin to create/build OSGi bundle out of desired dependency (Azure Identity client in this case)
Ways of including it as part of project code base is available here - https://myaemlearnings.blogspot.com/2021/08/embedding-third-party-dependencyosgi.html
Hi @mayank0928,
You can make use of maven-bundle-plugin to create/build OSGi bundle out of desired dependency (Azure Identity client in this case)
Ways of including it as part of project code base is available here - https://myaemlearnings.blogspot.com/2021/08/embedding-third-party-dependencyosgi.html
Thanks for the blog, I guess I can implement this to fulfill my requirements.
Thanks for the help!
Views
Likes
Replies