我試圖編譯在亞馬遜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-訪問數據:
是否遵循事先說明試用-rest/complete'?即,如果現在執行'ls',它會打印出gradlew是當前目錄中的文件? – Pod
是的,我跟着那一步。抱歉。該命令在訪問Gradle所在的文件夾時起作用:''\ gs-accessible-data-rest \ complete \ gradlew.bat''。 – santafebound
[Gradlew出錯:/ usr/bin/env:bash:沒有這樣的文件或目錄]可能的重複(http://stackoverflow.com/questions/22301956/error-with-gradlew-usr-bin-env-bash -no-such-file-or-directory) – santafebound