Expand my Community achievements bar.

Integrating Googles DCM/DFA Api (AEM 6.4.3)

Avatar

Level 1

Hi All, 

I'm currently trying to add the google api services dcm/dfa reporting client library to an existing AEM project in order to track offline conversions. I have added the dependancies in both the project pom.xml and the core pom.xml and now all of the pages on the website are returning this error. As soon as I remove the dependancies form the pom the pages work perfectly again. I am new to integrating API's and was wondering if anyone could provide a solution?

org.apache.sling.scripting.sightly.SightlyException

Here is images of the client library being called in the pom files. 

Project Pom.xml (Left)  Core Pom.xml (Right)

Project Pom.xmlProject Pom.xmlCore Pom.xmlCore Pom.xml

This is how the pages look when the client library is installed :

Screenshot 2020-01-30 at 08.53.28.png

I have also now seen that the dependencies are not being resolved in the core bundle :

Screenshot 2020-01-30 at 10.39.31.png

 

0 Replies