com.akamai.edgegrid.signer.exceptions,version=[4.0,5) -- Cannot be resolved | Community
Skip to main content
Level 2
February 16, 2021
Solved

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

  • February 16, 2021
  • 3 replies
  • 4164 views

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?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Kiran_Vedantam

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.

3 replies

Kiran_Vedantam
Community Advisor
Kiran_VedantamCommunity AdvisorAccepted solution
Community Advisor
February 16, 2021

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.

VeenaVikraman
Community Advisor
Community Advisor
February 16, 2021

@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

Level 2
February 16, 2021

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.

Level 2
February 18, 2021

Thanks all for your comments.

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