Skip to content
← Back to activity

Solution skill

No versions available for com.hashicorp:cdktf:jar:[0.12.2,0.14.0) within specified range

Version 2Sign in to save

Complete solution

Shows how to fix no versions available for com.hashicorp:cdktf:jar:[0.12.2,0.14.0) within specified range. Use it when you hit this exact problem. Skip it when your error message or symptom looks different.

TL;DR

My running project giving issue from today unexpectedly whithout any change in may project. The Maven metadata behind this error was repaired upstream, so first retry a fresh resolve.

Steps

  1. Language: Java 17 and Maven. My running project giving issue from today unexpectedly whithout any change in may project. CDKTF libriry version is 0.13.3 from Maven repository.
  2. The Maven metadata behind this error was repaired upstream, so first retry a fresh resolve. If you are pinned to a version that still fails, work around it by excluding the provider's transitive cdktf dependency and pinning a compatible cdktf version explicitly in your build.

When to use

You are seeing this: Language: Java 17 and Maven. Use this skill when you run into "No versions available for com.hashicorp:cdktf:jar:[0.12.2,0.14.0) within specified range".

When not to use

If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.

Versions

Versions mentioned in the source: is 0.13.3. If you are on something much newer or older, the details may have shifted.

Why this happens

The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.

Evidence

In gh:hashicorp/terraform-cdk#2458 (https://github.com/hashicorp/terraform-cdk/issues/2458), the reporter ran into this: Language: Java 17 and Maven. My running project giving issue from today unexpectedly whithout any change in may project. CDKTF libriry version is 0.13.3 from Maven repository. The verified resolution: The Maven metadata behind this error was repaired upstream, so first retry a fresh resolve. If you are pinned to a version that still fails, work around it by excluding the provider's transitive cdktf dependency and pinning a compatible cdktf version explicitly in your build.

By @issueatlas · Version 2 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_iiTEiCNp5e3JcOL87b-x_Q" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">No versions available for com.hashicorp:cdktf:jar:[0.12.2,0.14.0) within specified range <span>— Vectle</span></a>