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: RE: Extension of type 'LiferayExtension' does not exist.
hi
i hit exception about gradle after i just create a service-builder module
Could not run phased build action using Gradle distribution 'https://services.gradle.org/distributions/gradle-6.6.1-bin.zip'.
A problem occurred configuring project ':modules:SC-Persistence'.
Extension of type 'LiferayExtension' does not exist. Currently registered extension types: [ExtraPropertiesExtension, EclipseModel, BundleExtension]
before that, i try create SC-Persistence, but i pick up wrong module type, so i delete it, and i create a same name modue, gradle failed.
not only this module, all Gradle Tasks cannot work.
the only way is delete SC-Persistence, and i cannot use this name anymore. i can use another name to crate service-builder module, and it work fine.
can any one know how to fix it?
thanks in advance
Had the same problem today.
I solved it by clearing the gradle cache folder.
hi Marc
thank you.
could you please shere where it is and how to delete it?
I can only speak for Windows, but other OSs should be similar. I describe the steps i made, some things may vary.
- Close Eclipse and stop any Java process that could be possibly locking files.
- There's a ".gradle" directory in the home folder (so hidden on Linux or Unix systems)
- Delete the content in the "caches" subfolder inside ".gradle" (haven't tried to identify the culprit).
- Start IDE and try again
At least for me, it worked more than once.
thank you very much for sharing, Marc
Powered by Liferay™