Expand my Community achievements bar.

SOLVED

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 Accepted Solution

Avatar

Correct answer by
Level 8

you need t export you project bundle package too

<Export-Package>

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

</Export-Package>

View solution in original post

6 Replies

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 8

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

Correct answer by
Level 8

you need t export you project bundle package too

<Export-Package>

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

</Export-Package>