Fórum
IDE3.0.1 GA2 Could not execute build using Gradle distribution
Stan X, modificado 7 Anos atrás.
IDE3.0.1 GA2 Could not execute build using Gradle distribution
Regular Member Postagens: 208 Data de Entrada: 28/01/08 Postagens Recentes
Env:
CentOS 7
java version "1.8.0_102"
liferay-ide-eclipse-linux-x64-3.0.1-ga2-201606151031.tar
I am following:
https://dev.liferay.com/develop/tutorials/-/knowledge_base/7-0/installing-liferay-ide
When I tried to create a new module and click on Finish, I get the following popup message:
Error
Project create error: 0. [ExceptionTransformer.transform]
org.gradle.tooling.BuildException: Could not execute build using Gradle distribution 'https://services.gradle.org/distributions/gradle-2.14-bin.zip'.
---
Some notes:
- JAVA_HOME is set.
- Tried -Dosgi.requiredJavaVersion=1.8 in eclipse.ini
- There is gradle-2.14 in /root/.gradle/wrapper/dists/gradle-2.14-bin/76oc0mnc3ieqtsukq90mp0rxk/gradle-2.14.
- Also tried, “Install Liferay IDE into Eclipse” with Neon. Same error message.
- Tried on Win7. Same error message.
- There is no proxy. I am able to download https://services.gradle.org/distributions/gradle-2.14-bin.zip with wget.
CentOS 7
java version "1.8.0_102"
liferay-ide-eclipse-linux-x64-3.0.1-ga2-201606151031.tar
I am following:
https://dev.liferay.com/develop/tutorials/-/knowledge_base/7-0/installing-liferay-ide
When I tried to create a new module and click on Finish, I get the following popup message:
Error
Project create error: 0. [ExceptionTransformer.transform]
org.gradle.tooling.BuildException: Could not execute build using Gradle distribution 'https://services.gradle.org/distributions/gradle-2.14-bin.zip'.
---
Some notes:
- JAVA_HOME is set.
- Tried -Dosgi.requiredJavaVersion=1.8 in eclipse.ini
- There is gradle-2.14 in /root/.gradle/wrapper/dists/gradle-2.14-bin/76oc0mnc3ieqtsukq90mp0rxk/gradle-2.14.
- Also tried, “Install Liferay IDE into Eclipse” with Neon. Same error message.
- Tried on Win7. Same error message.
- There is no proxy. I am able to download https://services.gradle.org/distributions/gradle-2.14-bin.zip with wget.
Gregory Amerson, modificado 7 Anos atrás.
RE: IDE3.0.1 GA2 Could not execute build using Gradle distribution
Liferay Legend Postagens: 1123 Data de Entrada: 16/02/10 Postagens Recentes
Can you give us the full stack trace?
Miguel Angel Gonzalez, modificado 7 Anos atrás.
RE: IDE3.0.1 GA2 Could not execute build using Gradle distribution
New Member Postagens: 3 Data de Entrada: 04/03/16 Postagens Recentes
I have the same problem. Do you get resolve the problem?
Thank in advance
Thank in advance
Miguel Angel Gonzalez, modificado 7 Anos atrás.
RE: IDE3.0.1 GA2 Could not execute build using Gradle distribution
New Member Postagens: 3 Data de Entrada: 04/03/16 Postagens Recentes
I answered myself.
I think there is a problem in liferay IDE and the wizard related to create module don't take proxy eclipse configuration. All work correct when your network conection don't need proxy.
Best Regards
I think there is a problem in liferay IDE and the wizard related to create module don't take proxy eclipse configuration. All work correct when your network conection don't need proxy.
Best Regards
Gregory Amerson, modificado 7 Anos atrás.
RE: IDE3.0.1 GA2 Could not execute build using Gradle distribution
Liferay Legend Postagens: 1123 Data de Entrada: 16/02/10 Postagens RecentesMiguel Angel Gonzalez:
I answered myself.
I think there is a problem in liferay IDE and the wizard related to create module don't take proxy eclipse configuration. All work correct when your network conection don't need proxy.
Best Regards
We will try to add support for proxies in Liferay IDE 3.1 M2
https://issues.liferay.com/browse/IDE-2920
Miguel Angel Gonzalez, modificado 7 Anos atrás.
RE: IDE3.0.1 GA2 Could not execute build using Gradle distribution
New Member Postagens: 3 Data de Entrada: 04/03/16 Postagens Recentes
Thank you.
While the solution comes. I got it to work change manually the property systemProxiesEnable=true in eclipse/configuration/.settings/org.eclipse.core.net.prefs (https://www.eclipse.org/forums/index.php/t/148701/)
While the solution comes. I got it to work change manually the property systemProxiesEnable=true in eclipse/configuration/.settings/org.eclipse.core.net.prefs (https://www.eclipse.org/forums/index.php/t/148701/)
Gabor J, modificado 7 Anos atrás.
RE: IDE3.0.1 GA2 Could not execute build using Gradle distribution
New Member Postagens: 2 Data de Entrada: 16/09/16 Postagens Recentes
Another possible reason can be that the gradle build triggered by eclipse is using a JRE instead of a JDK. Check the eclipse error log. You might need to change java runtime in eclipse.ini.