Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

com.akamai.edgegrid.signer.exceptions,version=[4.0,5) -- Cannot be resolved

mohanasundaramp
Level 3
Level 3

Hi,

Iam getting below error when try to activate bundles.

 

com.akamai.edgegrid.signer.exceptions,version=[4.0,5) -- Cannot be resolved

 

I am added only 4.0.0 version of  “edgegrid-signer-core” dependency. And in contains exceptions class. But  version 4.0.5 version I can see in bundles.

 

if iam adding lover version my code implementation getting dependency error.

 

Can any one suggest how to fix this issue?

1 Accepted Solution
Kiran_Vedantam
Correct answer by
Community Advisor
Community Advisor

Hi @mohanasundaramp,

 

Can you please check which version of  “edgegrid-signer-core” dependency is installed in your environment. The dependency error says it is not able to find the bundle [version or bundle itself] mentioned in the pom.xml.

 

Check my answer here to know the different ways of installing a bundle.

 

Hope this helps.

 

Thanks,

Kiran Vedantam.

View solution in original post

7 Replies
Kiran_Vedantam
Correct answer by
Community Advisor
Community Advisor

Hi @mohanasundaramp,

 

Can you please check which version of  “edgegrid-signer-core” dependency is installed in your environment. The dependency error says it is not able to find the bundle [version or bundle itself] mentioned in the pom.xml.

 

Check my answer here to know the different ways of installing a bundle.

 

Hope this helps.

 

Thanks,

Kiran Vedantam.

View solution in original post

Veena_Vikram
Community Advisor
Community Advisor

@mohanasundaramp Did you install the already available bundle or any custom bundle ? Becoz as the error says

 

com.akamai.edgegrid.signer.exceptions,version=[4.0,5) -- Cannot be resolved

 

Your  “edgegrid-signer-core”  has a dependency to the above bundle and the version is not available in your felix console. You can either check the bundle which has above dependency with version, or if you are using custom bundle , please remove the version references in the META-INF and rebuild the bundle. ( do this only if it is custom bundle)

 

Update :- I was searching pom for the above classes and got this one. I am not sure if it has the above class, but can you try https://mvnrepository.com/artifact/com.akamai.edgegrid/edgegrid-signer-core/4.0.1

 

Thanks

Veena

mohanasundaramp
Level 3
Level 3

iam using dependency in pom file

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

 

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

 

 

And not able to delete in  META-INF.

Veena_Vikram
Community Advisor
Community Advisor
I was searching pom for the above classes and got this one. I am not sure if it has the above class, but can you try https://mvnrepository.com/artifact/com.akamai.edgegrid/edgegrid-signer-core/4.0.1
mohanasundaramp
Level 3
Level 3
Thanks for your post. 4.0.1 core also i have validated. still facing same issue.
davidjgonzalezzzz
Level 6
Level 6
Adding a depdency in your pom is NOT the same as embedding the dependency and deploying it as part of your package to AEM. You need to do the latter. You can do this in a similar fashion as you embed your Core OSGi bundle in your ui.apps content package.
mohanasundaramp
Level 3
Level 3

Thanks all for your comments.

Finally it's working after adding the jar bundles in OSGI bundles section.