Welcome Dialog

Welcome to the Community!

We have a brand new look! Take a tour with us and explore the latest updates on Adobe Support Community.


com.microsoft.aad.adal4j -- Cannot be resolved

New Here ,
Dec 14, 2019 Dec 14, 2019

Copy link to clipboard

Copied

Hi Team,

I am embedding Microsoft PowerBI into the adobe experience manager(6.4) website using maven dependency to add jars of Microsoft. But I am getting this error (com.microsoft.aad.adal4j -- Cannot be resolved) at Adobe Experience Manager Web Console Bundles. On my local machine, it is working as expected. After building to AEM(6.4), it gives unable to resolve.

Maven command used to build:- mvn -PautoInstallBundle clean install -Dmaven.test.skip=true, mvn -PautoInstallPackage clean install -Dmaven.test.skip=true

 

We have tried below dependencies with different versions to resolve it but getting the same issue.

 

<!-- https://mvnrepository.com/artifact/com.microsoft.azure/adal4j -->

              <dependency>

                     <groupId>com.microsoft.azure</groupId>

                     <artifactId>adal4j</artifactId>

                     <version>1.6.4</version>

                     <scope>compile</scope>

              </dependency>

 

<!-- https://mvnrepository.com/artifact/com.microsoft.aad/adal4j -->

<dependency>

    <groupId>com.microsoft.aad</groupId>

    <artifactId>adal4j</artifactId>

    <version>0.0.2</version>

</dependency>

Logfile details exception:-

org.osgi.framework.BundleException: Unable to resolve com.ncr.aem.operation0360.aem-ncr-operation0360.core [551](R 551.13): missing requirement [com.ncr.aem.operation0360.aem-ncr-operation0360.core [551](R 551.13)] osgi.wiring.package; (osgi.wiring.package=com.microsoft.aad.adal4j) Unresolved requirements: [[com.ncr.aem.operation0360.aem-ncr-operation0360.core [551](R 551.13)] osgi.wiring.package; (osgi.wiring.package=com.microsoft.aad.adal4j)])

org.osgi.framework.BundleException: Unable to resolve com.ncr.aem.operation0360.aem-ncr-operation0360.core [551](R 551.13): missing requirement [com.ncr.aem.operation0360.aem-ncr-operation0360.core [551](R 551.13)] osgi.wiring.package; (osgi.wiring.package=com.microsoft.aad.adal4j) Unresolved requirements: [[com.ncr.aem.operation0360.aem-ncr-operation0360.core [551](R 551.13)] osgi.wiring.package; (osgi.wiring.package=com.microsoft.aad.adal4j)]

 

Any help appreciated and also suggest what would be the correct way to embed the third party .ie(PowerBI) into AEM(6.4).

 

Thanks

DRoy

 

 

TOPICS
Bug

Views

589

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Adobe Community Professional , Dec 14, 2019 Dec 14, 2019

Likes

Translate

Translate
Adobe Community Professional ,
Dec 14, 2019 Dec 14, 2019

Copy link to clipboard

Copied

LATEST

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines