liferay / liferay-ide

131 stars 166 forks source link

Liferay portal-7.4-ga1 not supported #208

Closed sergeByishimo closed 3 years ago

sergeByishimo commented 3 years ago

Error : Specified Liferay Version is invalid. Must be in range [7.0.0, 7.4.0]

IDE Version : Version: 3.9.2.202103181004-ga3

All below 7.4 portal versions seems to work.

Please Help

Screen Shot 2021-05-01 at 17 40 03
gamerson commented 3 years ago

Hello Serge, we have an upcoming release next Monday that will fix this issue. Hope this helps!

On Sat, May 1, 2021 at 10:42 AM Serge Byishimo @.***> wrote:

Error : Specified Liferay Version is invalid. Must be in range [7.0.0, 7.40]

IDE Version : Version: 3.9.2.202103181004-ga3

Please Help

[image: Screen Shot 2021-05-01 at 17 40 03] https://user-images.githubusercontent.com/32865999/116787450-56a5d880-aaa4-11eb-9493-423b02b8fabe.png

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/liferay/liferay-ide/issues/208, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAERKFLSFOGG5QQBE55N3ZLTLQOOVANCNFSM436N64LQ .

-- Greg Amerson Liferay Developer Tools Liferay, Inc. www.liferay.com

sergeByishimo commented 3 years ago

I updated Blade CLI and used Intellij Plugin to be able to use Portal 7.4 CE GA1

yanan commented 3 years ago

Here are the download links for the new 3.9.3 release which support liferay 7.4:

Thank you.

vanniVD commented 5 months ago

Hello, I got the same problem me too.

I solved the issue installing the new version of Liferay Dev Studio.

But if I create the service builder via Blade CLI (version 6.0.0.202404102137) or also via IntelliJ with Liferay Plugin (version 2.0.8) I get the following when perform the reload of gradle project: [...] Build file 'xxxxxxxxx\modules\manage-tasks-3\manage-tasks-3-service\build.gradle' line: 2

A problem occurred evaluating project ':modules:manage-tasks-3:manage-tasks-3-service'.

Could not find method api() for arguments [project ':modules:manage-tasks-3:manage-tasks-3-api'] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler. [...]

Could you please suggest what to do? Thanks in advance

drewbrokke commented 5 months ago

That might be an issue with your version of Gradle. If you run blade gw -v from the command line you your project, what version does it print?

vanniVD commented 5 months ago

Gradle 6.9.2

Build time: 2021-12-21 20:18:38 UTC Revision: 5d94aa68c0fdbe443838bb977080e3b9f273e889

Kotlin: 1.4.20 Groovy: 2.5.12 Ant: Apache Ant(TM) version 1.10.9 compiled on September 27 2020 JVM: 1.8.0_391 (Oracle Corporation 25.391-b13) OS: Windows 11 10.0 amd64

drewbrokke commented 5 months ago

Ok, will you please try using Gradle 7 instead? I believe that is the cause of the error you posted.

Try changing the value of the distributionUrl property to https\://services.gradle.org/distributions/gradle-7.3.3-bin.zip in the file gradle/wrapper/gradle-wrapper.properties (from the root of your workspace) and try the task again.

vanniVD commented 5 months ago

Thanks for the suggestion.

I tried but unfortunately it didn't fix the issue (probably because there are some other dependencies related).

Anyway I solved the issue (with help of a colleague): into file build.gradle of the service module nested I changed this:

Performed the reload of all Gradle project and issue is gone, suggestion worked