Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: Gradle on Mac M2 with Liferay 7.3
I upgraded my old mac with a M2 macbook pro a couple of week ago and I can't get Gradle to compile my Liferay theme, i get this error
* What went wrong:
A problem occurred evaluating settings 'nns-portal'.
> Failed to apply plugin [id 'com.liferay.workspace']
> Could not create an instance of type com.liferay.gradle.plugins.workspace.WorkspaceExtension.
> Unable to get product info for :dxp-7.3-ga1
I'm using Eclipse 2025-03 (4.35.0) and can't refresh the gradle
tasks.
Actually I was able to compile in the past few days but
today i got this message and can't compile anymore?
I'm using JDK
11.0.13
Gradle 5.6.4
can you help me?
I think your gradle properties are wrong for the target platform. I haven't checked in a while, but I don't know that's the right format for the 7.3 target platform label.