击:/ gradlew:没有这样的文件或目录(Windows)中
我试图编译在亚马逊AWS一个Springboot应用:击:/ gradlew:没有这样的文件或目录(Windows)中
当我尝试打包在GitBash我有摇篮的应用得到以下错误信息:
$ ./gradlew bootRepackage
bash: /gradlew: No such file or directory
我正在使用Windows。我尝试git config core.autocrlf false
这里建议:Error with gradlew: /usr/bin/env: bash: No such file or directory。我仍然有同样的问题。我错过了什么? `git的克隆https://github.com/spring-guides/gs-accessing-data-rest.git CD GS-访问数据:
与./gradlew bootRepackage
对不起,这是OP中的一个转录错误。我使用过''./gradlew bootRepackage'',但它不起作用。 – santafebound
它仍然会给出同样的错误吗? – Pod
是同样的错误。 – santafebound
是否遵循事先说明试用-rest/complete'?即,如果现在执行'ls',它会打印出gradlew是当前目录中的文件? – Pod
是的,我跟着那一步。抱歉。该命令在访问Gradle所在的文件夹时起作用:''\ gs-accessible-data-rest \ complete \ gradlew.bat''。 – santafebound
[Gradlew出错:/ usr/bin/env:bash:没有这样的文件或目录]可能的重复(http://*.com/questions/22301956/error-with-gradlew-usr-bin-env-bash -no-such-file-or-directory) – santafebound