kestra-io/kestra · error · KestraRuntimeException
Failed to resolve dependency: '{}'
Error message
Failed to resolve dependency: '{}' What it means
Error "Failed to resolve dependency: '{}'" thrown in kestra-io/kestra.
Source
Thrown at core/src/main/java/io/kestra/core/plugins/MavenPluginDownloader.java:228
final String highestVersion = version.getHighestVersion().toString();
ArtifactRequest artifactRequest = new ArtifactRequest(
new DefaultArtifact(artifact.getGroupId(), artifact.getArtifactId(), "jar", highestVersion),
repositories,
null
);
ArtifactResult result = system.resolveArtifact(session, artifactRequest);
return new PluginArtifact(
result.getArtifact().getGroupId(),
result.getArtifact().getArtifactId(),
result.getArtifact().getExtension(),
result.getArtifact().getClassifier(),
// Use the version from ArtifactRequest and not the one from the ArtifactResult.
// Otherwise, SNAPSHOT version will result in a timestamped version string.
highestVersion.endsWith("-SNAPSHOT") ? highestVersion : result.getArtifact().getVersion(),
result.getArtifact().getPath().toUri()
);
} catch (VersionRangeResolutionException | ArtifactResolutionException e) {
throw new KestraRuntimeException("Failed to resolve dependency: '" + dependency + "'", e);
}
}
/**
* {@inheritDoc}
*/
@PreDestroy
@Override
public void close() throws IOException {
try {
system.shutdown();
} catch (MultiRuntimeException e) {
log.warn("Error while shutting down Maven repository", e);
}
}
}
View on GitHub (pinned to 823fada927)
Solutions
- Verify the dependency coordinates (groupId:artifactId:version) are correct and exist in the configured Maven repository.
- Check network connectivity and repository credentials so the plugin artifact can be downloaded.
When it happens
Trigger: Thrown at core/src/main/java/io/kestra/core/plugins/MavenPluginDownloader.java:228 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of kestra-io/kestra@823fada927 (2026-08-14).
Data as JSON: /api/errors/5c18b9b2bae3f1bd.
Report an issue: GitHub.