Java / Gradle dependency error in Mendix Studio Pro version 10.24.9

0
Hi, I have a blocking error in my local Mendix Studio Pro 10.24.9 where I cannot build or run locally due to an issue with Java or Gradle synchronization. I cannot continue making code changes and committing them until this error is fixed. FAILURE: Build failed with an exception. * Where: Build file 'D:\Users\ouruser\Mendix\ourapp\vendorlib\temp\build.gradle' line: 2 * What went wrong: Plugin [id: 'org.cyclonedx.bom', version: '1.10.0'] was not found in any of the following sources: - Gradle Core Plugins (plugin is not in 'org.gradle' namespace) - Plugin Repositories (could not resolve plugin artifact 'org.cyclonedx.bom:org.cyclonedx.bom.gradle.plugin:1.10.0') Searched in the following repositories: Gradle Central Plugin Repository * Try: > Run with --stacktrace option to get the stack trace. > Run with --info or --debug option to get more log output. > Run with --scan to get full insights. > Get more help at https://help.gradle.org. BUILD FAILED in 8s
asked
3 answers
0

Hi,
This can be solved easily going to these steps:
In the top Menu click Edit -> Preferences -> Deployment -> Pick up Gradle directory and also JDK directory even if they are selected already.
Then click OK.

Try re-synchronizing again by clicking with the right of your mouse and synchronize, or try to Run the app, or click to Check now.
If this doesn't work, then you can try deleting and downloading again the Project folder.

If this helped, please consider marking the answer as accepted. 🙂

Best regards!

answered
0

Hi Alnel,

I hope you're doing well.


I have seen this issue quite frequently in the organization I'm working on, I have provided a solution to this issue you're describing in this forum question.


I hope this helps solve your issue.


Best regards,

Oswaldo Valles

answered
0

Hey hi,


Try disabling the Gradle synchronisation. Upgrade all modules specially, excel importer and exporter and enable the Gradle synchronization.



answered