<-- Back

Deployment failure in Mendix 11.12 with error: release version 21 not supported

Issue

When deploying a Mendix application to version 11.12 via the Mendix pipeline or creating a deployment package in the Apps portal, the build fails during the Java compilation step with the following error:

ERROR: An error occurred while compiling Java actions
FAILURE: Build failed with an exception.
Execution failed for task ':compile'.
> error: release version 21 not supported

The build pipeline completes all preparation steps successfully but fails during the Bundle application/Compiling Java steps. As a result, the deployment package cannot be created, and the application cannot be deployed.

Environment

Studio Pro v11.12

Cause

Due to an issue with the MxPipelines build server, building Mendix 11.12 packages will fail due to an unsupported Java version. 

Solution/Workaround

This issue is currently under investigation by the Research and Development team. The following workaround is available: please utilize a local build approach and manually upload the deployment package.

  1. Open the project in Mendix Studio Pro (11.12) locally

  2. Ensure the project builds successfully on your local machine

  3. Build the deployment package (MDA) locally:

    • Go to: AppCreate Deployment Package... (F7)

  4. After the .mda file is generated:

    • Navigate to the Mendix Cloud Portal

    • Upload the generated MDA file manually

  5. Deploy the uploaded package to the target environment.

Internal information related

  • 282255, 282274, 282272
  • C0BEDHS36R3

Additional information

Have more questions? Submit a request

0 Comments

Article is closed for comments.

To provide feedback, please open a ticket here. Don't forget to include the article's URL along with the feedback you would like to provide.