'gradlew eclipse' command is not working

流过昼夜 提交于 2021-02-07 20:34:21

问题


I have checked in code from the following URL

https://github.com/spring-projects/spring-integration-samples

Now I am try to build the code and give the command 'gradlew eclipse'

and I am getting 522 error code. Could you please help us to resolve the erro


回答1:


eclipse task is not available in the root project because eclipse plugin is not applied on that project. Add

apply plugin:'eclipse'

near the top of build.gradle and try again.




回答2:


If your on a mac your problem is you need to do ./gradlew eclipse, but if you are on a pc, maybe you need to be in a certain folder to do the gradlew command.



来源:https://stackoverflow.com/questions/35227466/gradlew-eclipse-command-is-not-working

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