Error while importing gobblin gradle project into IDE

我是研究僧i 提交于 2020-03-02 19:58:19

问题


I am getting this error while I try to import the gobblin distribution into my IDE , I have tried both inteliJ and eclipse , not able to find any luck. Below are the errors which I get when I try to import. In Eclipse the error is:

*org.gradle.tooling.BuildException: Could not run build action using Gradle distribution 'https://services.gradle.org/distributions/gradle-3.3-bin.zip'.
*
For InteliJ
*Cause: startup failed: build file 'C:\Users\sayyad.ghazi\Desktop\gob\gobblin-master\gobblin-restli\gobblin-throttling-service\gobblin-throttling-service-api\build.gradle': 1: unexpected token: .. @ line 1, column 1. ../../api.gradle ^ 1 error*

回答1:


This is because on Windows, Git can not create symbolic link file on non-admins mode. Symbolic link file is created as text file, containing a symbolic link.

Try the following command in Administrator Mode:

git clone -c core.symlinks=true <URL>

Then check the content of symbolic link file, such as "build.gradle" in your description. It should be the same as the content of "../../api.gradle", not just a symbolic link.

See git-for-windows-wiki-Symbolic-Links for more details.



来源:https://stackoverflow.com/questions/41994595/error-while-importing-gobblin-gradle-project-into-ide

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!