AEM Forms as a Cloud Service: Resolving bundle unresolved errors due to SLF4J dependency mismatch

✨ This content is AI generated and could be inaccurate. Generative AI Terms

This article explains how to resolve issues with unresolved AEM Forms bundles in local AEM Forms as a Cloud Service environments caused by an SLF4J dependency version mismatch between the AEM SDK and AEM Forms Add-On.

Description description

Environment

  • Adobe Experience Manager (AEM) as a Cloud Service
  • AEM SDK and AEM Forms Add-On (various versions)
  • All platforms

Symptoms

When installing AEM Forms Add-On packages in a local AEM as a Cloud Service development environment, several Forms bundles remain in the Installed state instead of becoming Active. The following dependency error appears in the logs:

com.adobe.aem.dermis.aem-dermis-core requires: org.slf4j.spi >=1.7.0 and <2.0.0

The SDK exposes: org.slf4j.spi 2.0.17

As a result, multiple Forms bundles are unresolved and Forms features are not fully available.

Cause

This issue occurs when the AEM SDK and AEM Forms Add-On versions are not from the same release timeframe, leading to incompatible SLF4J versions.

Resolution resolution

Follow the steps below to resolve the issue:

  1. Verify that the AEM SDK and AEM Forms Add-On versions are from the same release timeframe.
  2. Download both the AEM SDK and the AEM Forms Add-On package released together from the Adobe Software Distribution portal.
  3. Install the AEM Forms Add-On by following the official documentation for local development setup.
  4. After installation, navigate to /system/console/bundles and confirm that all Forms-related bundles are in the Active state.
  5. If any bundles remain unresolved, review the Imported Packages list for missing dependencies and verify that the Java JDK version is supported by the SDK release.
recommendation-more-help
experience-cloud-kcs-help-kbarticles