Leiste mit Community-Erfolgen erweitern.

Mark Solution

Diese Konversation wurde aufgrund von Inaktivität geschlossen. Bitte erstellen Sie einen neuen Post.

GELÖST

Pages in AEM getting blank after adding Akamai .edgegrid dependency

Avatar

Community Advisor

After Adding com.akamai.edgegrid dependency into pom.xml pages in AEM showing blank.

I have added following akamai dependency into pom.xml

<dependency>

  <groupId>com.akamai.edgegrid</groupId>
  <artifactId>edgegrid-signer-apache-http-client</artifactId>
  <version>4.0.0</version>
</dependency>

As this belongs non-OSGi dependencies so I have imported following java package into pom.xml

<Export-Package>
   com.akamai.edgegrid.signer.*

</Export-Package>

has anyone faced the same issue?

1 Akzeptierte Lösung

Avatar

Korrekte Antwort von
Level 9

you need t export you project bundle package too

<Export-Package>

com.aem.yourproject.*,com.akamai.edgegrid.*

</Export-Package>

Lösung in ursprünglichem Beitrag anzeigen

6 Antworten

Avatar

Community Advisor

Check in the bundles how many bundles are in resolved state and what is missing in those bundles.

Avatar

Community Advisor

After importing the package bundle is in an active state but Pages in AEM getting blank.

Avatar

Level 9

It should be

<Export-Package>

com.akamai.edgegrid.*

</Export-Package>

also export your project bundle package e.g.

<Export-Package>

com.aem.abc.*,com.aem.xyz.*,com.akamai.edgegrid.*

</Export-Package>

Avatar

Community Advisor

it is same as

<Export-Package>

com.akamai.edgegrid.*

</Export-Package>

Avatar

Korrekte Antwort von
Level 9

you need t export you project bundle package too

<Export-Package>

com.aem.yourproject.*,com.akamai.edgegrid.*

</Export-Package>

Avatar

Community Advisor

Problem Solved Thanks to Hemant arora