Cloud Manager build and deployment errors · updated

AEM analyser error: artifact requires X but no artifact is providing a matching capability

The requirements-capabilities analyser fails when an OSGi bundle declares a requirement (Require-Capability) that no other included bundle satisfies with a matching capability at that start level. Adobe suggests checking the manifest of the bundle you expected to provide the capability, and the requiring bundle's manifest to confirm the requirement is right.

The error

Adobe's example: '[ERROR] org.acme:mybundle:0.0.1-SNAPSHOT: Artifact org.acme:mybundle:0.0.1-SNAPSHOT requires org.foo.bar in start level 20 but no artifact is providing a matching capability in this start level.'

Typical causes

  • A library that registers a service loader or extender capability isn't included in the deployment.
  • A bnd plugin or annotation generated a requirement you don't actually need (for example an osgi.extender requirement).
  • A dependency built for a different OSGi environment declares capabilities AEM Cloud Service doesn't provide.
  • A version filter in the requirement is stricter than the provider's capability.

Reading the manifests

Open the requiring bundle's MANIFEST.MF and find the Require-Capability header for the namespace in the error. Then look for a matching Provide-Capability in the bundles you deploy. If none should exist, the requirement is wrong; if one should, the providing bundle is missing or its capability version doesn't match.

FindingFix
Provider missingAdd the providing bundle to the all package
Requirement generated by toolingAdjust bnd instructions or annotations
Version mismatchAlign versions of provider and consumer

How to fix it

  1. Copy the namespace and filter from the error.
  2. Check the requiring bundle's Require-Capability header.
  3. Search deployed bundles for a matching Provide-Capability.
  4. Add the provider or remove the unneeded requirement.
  5. Re-run the analyser locally.

Related pages on this site

Questions

Is this the same as a missing Import-Package?

No. Imports are checked by api-regions-exportsimports; this analyser checks generic capabilities such as extenders and service loaders.

Does it run in Cloud Manager?

Yes, Adobe lists it as running locally and in Cloud Manager.

Where do I see the manifest?

In target/classes/META-INF/MANIFEST.MF after a build, or inside the bundle JAR.

Sources

Facts about Adobe's platform are from the linked Adobe pages, checked 10 Nov 2026. Explanations and examples are ours unless marked as Adobe's.

Scan, Convert, Verify, Install

How Surge Migrate helps with a move to AEM as a Cloud Service

Surge Migrate moves a website from any CMS to any CMS, and AEM as a Cloud Service is one of the systems it writes. Pages are converted automatically, and you check the result before you install anything.

  1. 1

    Scan

    Names the system behind your site, counts pages and templates, lists the blocks to build and the work no tool does, and gives an effort range with its working.

    Scan a site →
  2. 2

    Convert

    Each page becomes an Edge Delivery document, an AEM Core Component page and import files for 7 other systems. 10 pages free; 500 or 2,000 pages in one paid run.

    Convert your pages →
  3. 3

    Verify

    A download is offered only when its own format check passes. The report lists every field not found and every component kept as plain content. Compare old and new pages side by side.

    Parity check →
  4. 4

    Install

    You import with the target system's own tool, on your own environment. Each download's README gives the command. Your system changes only when you run it.

    How each import was tested →

Content packages installed on a local AEM as a Cloud Service SDK. See the worked examples. For AEM 6.5 code, the free readiness scan reads a repository zip or a Best Practices Analyzer CSV in your browser and lists Cloud Service blockers with file, fix and effort. Nothing is uploaded.