11.12.0 - Failed to build MDA - release version 21 not supported

0
Hi all,I am trying to publish my application to the Mendix Free Tier (MxCloud).The same project was working correctly in Mendix 11.11, but after upgrading to Mendix 11.12.0 the deployment package build fails.The error in the build log is:co to o czym to? Pipeline created at 2026-07-01T07:38:39Z [teamserver-discovery] 2026-07-01T07:38:43.120104178Z Project: 48f2f026-aef7-41ca-9814-1e88976367df [teamserver-discovery] 2026-07-01T07:38:43.120198803Z Determining repository type... [teamserver-discovery] 2026-07-01T07:38:43.358662710Z Found type: git [teamserver-discovery] 2026-07-01T07:38:43.359827181Z Found URL: https://git.api.mendix.com/48f2f026-aef7-41ca-9814-1e88976367df.git [teamserver-checkout] 2026-07-01T07:38:58.070591729Z Project: 48f2f026-aef7-41ca-9814-1e88976367df [teamserver-checkout] 2026-07-01T07:38:58.070609380Z Branch: main [teamserver-checkout] 2026-07-01T07:38:58.070621782Z Revision: 5601c09cfa8adc7e511478c663ea2b5204abc3f5 [teamserver-checkout] 2026-07-01T07:38:58.070643895Z Getting temporary access URL... [teamserver-checkout] 2026-07-01T07:38:58.190755725Z Cloning repository... [teamserver-checkout] 2026-07-01T07:39:01.912996348Z Checked out revision 5601c09cfa8adc7e511478c663ea2b5204abc3f5 [teamserver-checkout] 2026-07-01T07:39:02.281453195Z Finding MPR file... [teamserver-checkout] 2026-07-01T07:39:02.298927688Z Found: /workspace/build/source/App.mpr [teamserver-checkout] 2026-07-01T07:39:02.303842044Z Mendix version: 11.12.0 [compile] 2026-07-01T07:39:31.121229099Z [compile] 2026-07-01T07:39:31.124269466Z __ __ ____ _ _ _ [compile] 2026-07-01T07:39:31.126535116Z | \/ | | _ \ (_) | | | [compile] 2026-07-01T07:39:31.129021269Z | \ / |_ _| |_) |_ _ _| | __| | [compile] 2026-07-01T07:39:31.131539725Z | |\/| \ \/ / _ <| | | | | |/ _` | [compile] 2026-07-01T07:39:31.133812952Z | | | |> <| |_) | |_| | | | (_| | [compile] 2026-07-01T07:39:31.136213615Z |_| |_/_/\_\____/ \__,_|_|_|\__,_| [compile] 2026-07-01T07:39:31.138679237Z [compile] 2026-07-01T07:39:31.200061432Z v11.12.0 [compile] 2026-07-01T07:39:31.202190552Z [compile] 2026-07-01T07:39:35.236054351Z Preparing the web extensibility environment... [compile] 2026-07-01T07:39:35.559588394Z [WebExtensionsRunner] > [Web Socket] Connection established in 0ms! [compile] 2026-07-01T07:39:35.562733724Z [WebExtensionsRunner] > [Component Host] Initializing component host [compile] 2026-07-01T07:39:35.603215144Z [WebExtensionsRunner] > �[0m�[32mDownload�[0m http://localhost:33651/component/ui-dependencies/worker-loader.js?worker=%2Fcomponent%2Fcomponent-host%2Fcomponents.worker.js [compile] 2026-07-01T07:39:35.819103629Z [WebExtensionsRunner] > [Component Worker] Web Worker started! Running in mode: internal [compile] 2026-07-01T07:39:35.837386321Z [WebExtensionsRunner] > [Component Worker] Found built-in components: ["custom-blob-documents","domain-model-editor","ide-foundation","mapping-editor","microflow-editor","model-foundation","page-editor","workflow-editor"] [compile] 2026-07-01T07:39:39.739777834Z Starting build for Mendix Project file: /workspace/build/source/App.mpr [compile] 2026-07-01T07:39:39.742394095Z Using the following options: [compile] 2026-07-01T07:39:39.744859569Z * Build target: Package [compile] 2026-07-01T07:39:39.747373644Z * Deployment package file: /workspace/build/dist/e2b7b78c-b28b-4aa0-9255-ae449e521846.mda [compile] 2026-07-01T07:39:39.749710001Z * Model version: 1.0.1.5601c09c [compile] 2026-07-01T07:39:39.752131176Z * Model description: Automatically generated deployment package for Free App deployment. [compile] 2026-07-01T07:39:39.754370471Z * Generating software bill of materials (SBOM) [compile] 2026-07-01T07:39:39.756460573Z Reading project file... [compile] 2026-07-01T07:39:41.084020106Z Building and packaging project... [compile] 2026-07-01T07:39:41.090654806Z Executing step 'Synchronize with file system' [compile] 2026-07-01T07:39:41.090893063Z Synchronizing with file system... [compile] 2026-07-01T07:39:42.731743207Z Executing step 'Initialize' [compile] 2026-07-01T07:39:42.759815354Z Preparing deployment... [compile] 2026-07-01T07:39:42.832980747Z Executing step 'Check prerequisites' [compile] 2026-07-01T07:39:42.833677074Z Checking for errors... [compile] 2026-07-01T07:39:45.821673189Z Executing step 'Clean deployment directory' [compile] 2026-07-01T07:39:45.821889322Z Cleaning deployment directory... [compile] 2026-07-01T07:39:57.455687918Z Cleaning ml deployment directory... [compile] 2026-07-01T07:39:57.456098087Z Cleaning web deployment directory... [compile] 2026-07-01T07:39:57.456257809Z Cleaning source web deployment directory... [compile] 2026-07-01T07:39:57.456409713Z Executing step 'Perform model transformations' [compile] 2026-07-01T07:39:57.462886990Z Applying model transformations... [compile] 2026-07-01T07:39:57.522344294Z Executing step 'Generate deployment files' [compile] 2026-07-01T07:39:57.523503437Z Writing files... [compile] 2026-07-01T07:40:01.572730355Z Executing step 'Prepare deployment' [compile] 2026-07-01T07:40:01.573399500Z Generating styles for icons [compile] 2026-07-01T07:40:01.585278356Z Cleaning web deployment directory... [compile] 2026-07-01T07:40:01.666094609Z Executing step 'Build deployment structure' [compile] 2026-07-01T07:40:01.688449738Z Exporting ml models to ml deployment directory... [compile] 2026-07-01T07:40:01.690243344Z Compiling theme files... [compile] 2026-07-01T07:40:01.693553087Z Exporting a theme... [compile] 2026-07-01T07:40:02.286200646Z Generating font files for icons [compile] 2026-07-01T07:40:02.288338742Z Exporting pages... [compile] 2026-07-01T07:40:02.910984733Z Exporting metadata... [compile] 2026-07-01T07:40:02.913570479Z Exporting microflows model... [compile] 2026-07-01T07:40:02.936567851Z Exporting custom widgets... [compile] 2026-07-01T07:40:03.065650304Z Bundling custom widgets... [compile] 2026-07-01T07:40:05.765832779Z Compiling JavaScript actions... [compile] 2026-07-01T07:40:08.852225739Z Executing step 'Save model to deployment directory' [compile] 2026-07-01T07:40:08.852559111Z Saving model to deployment directory... [compile] 2026-07-01T07:40:09.151685197Z Executing step 'Finalize deployment structure' [compile] 2026-07-01T07:40:09.152209233Z Post-processing generation results... [compile] 2026-07-01T07:40:09.155720839Z Generating software bill of materials [compile] 2026-07-01T07:40:10.551790111Z Executing step 'Bundle application' [compile] 2026-07-01T07:40:10.552440342Z Compiling Java... [compile] 2026-07-01T07:40:13.976890775Z Executing step 'Clean up' [compile] 2026-07-01T07:40:13.977258266Z Cleaning up... [compile] 2026-07-01T07:40:14.044304298Z ERROR: An error occurred while compiling Java actions [compile] 2026-07-01T07:40:14.046928144Z [compile] 2026-07-01T07:40:14.049489972Z FAILURE: Build failed with an exception. [compile] 2026-07-01T07:40:14.051922109Z [compile] 2026-07-01T07:40:14.054227250Z * What went wrong: [compile] 2026-07-01T07:40:14.057443714Z Execution failed for task ':compile'. [compile] 2026-07-01T07:40:14.059797450Z > error: release version 21 not supported [compile] 2026-07-01T07:40:14.063062074Z [compile] 2026-07-01T07:40:14.065414128Z * Try: [compile] 2026-07-01T07:40:14.068329452Z > Run with --stacktrace option to get the stack trace. [compile] 2026-07-01T07:40:14.071261477Z > Run with --debug option to get more log output. [compile] 2026-07-01T07:40:14.074632710Z > Run with --scan to get full insights. [compile] 2026-07-01T07:40:14.077135613Z > Get more help at https://help.gradle.org. [compile] 2026-07-01T07:40:14.079150750Z [compile] 2026-07-01T07:40:14.081787403Z BUILD FAILED in 3s [compile] 2026-07-01T07:40:14.084787483Z [compile] 2026-07-01T07:40:14.087233317Z BUILD FAILED Has anyone experienced the same issue? (Localy and in app settings is Java 21.Could this be related to Java 21 requirements or a Free Tier build environment configuration?Thank you for any advice.
asked
7 answers
1

Issue is solved by Mendix, you now can deploy again on free cloud

answered
1

Dear Marek Piotrów ,

I think Mendix is working on this issue. You can confirm the same by raising support ticket.



In future, you can check the status here - status.mendix.com and raise support ticket here - support.mendix.com.

Hope my answer helps. Reach me out for any queries.

answered
0

This might be related to the current Mendix Cloud deployment package build issue (status.mendix.com) rather than your application itself. The status page recently showed an incident regarding Failures on building Deployment Packages, and the team has already implemented a fix and is monitoring the results.


From the log, the error:

error: release version 21 not supported


suggests that the cloud build agent is not using Java 21 correctly, even though your local environment is configured for Java 21.


I'd recommend trying to Build Deployment Package locally from Studio Pro or Mendix Modeler. If the local build succeeds, it is likely an issue with the cloud build environment rather than your project.


Kindly mark this as the accepted answer if it helps.

answered
0

I have the same error on 2 of my previous 11.6 Free apps

answered
0

Hi Marek,

Your logs are saying

ERROR: An error occurred while compiling Java actions
[compile] 2026-07-01T07:40:14.046928144Z

and

Execution failed for task ':compile'.
[compile] 2026-07-01T07:40:14.059797450Z > error: release version 21 not supported


So your java actions are failing while compiling,


I believe there is a mismatch of jdk

I found a support ticket facing the same issue. check this out.

https://support.mendix.com/hc/en-us/articles/21585239660956-Error-release-version-xx-not-supported


Hope this helps. 🙂

answered
0

Seems like this is a different issue than the issue that occurred yesterday (which someone posted earlier in this thread).

answered
0

Yes issue is solved, all works fine, thanks :)

answered