Try changing your preferences to not use Gradle.
I say this not really knowing what is causing the error other than I had a similar issue with my first attempt at running an app using Mendix 10 and got an error from Gradle. When I turned it off, I was able to compile.
I’m sure someone smarter than me will have a more technical solution.
Hi Balachandrudu,
I had the same problem while using a different java sdk than the one provided by the Mendix Studio Pro installer. I fixed the problem reverting to the one that the installer provides called “Eclipse Temurin” as shown below in Edit>Preferences:
I hope that helps, regards!