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 supportedThe 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.
Open the project in Mendix Studio Pro (11.12) locally
Ensure the project builds successfully on your local machine
Build the deployment package (MDA) locally:
Go to: App → Create Deployment Package... (F7)
After the
.mdafile is generated:Navigate to the Mendix Cloud Portal
Upload the generated MDA file manually
Deploy the uploaded package to the target environment.
Internal information related
- 282255, 282274, 282272
- C0BEDHS36R3
Additional information
- Mendix documentation:
0 Comments