Bash:/ gradlew:没有这样的文件或目录(Windows)

时间:2017-02-23 14:40:22

标签: git amazon-web-services gradle spring-boot

我试图在Amazon AWS上编译Springboot应用程序:

https://aws.amazon.com/blogs/devops/deploying-a-spring-boot-application-on-aws-using-aws-elastic-beanstalk/

当我尝试在GitBash中使用Gradle打包应用程序时,我收到以下错误消息:

$ ./gradlew bootRepackage
bash: /gradlew: No such file or directory

我正在使用Windows。我按照此处的建议尝试git config core.autocrlf falseError with gradlew: /usr/bin/env: bash: No such file or directory。我仍然有同样的问题。我错过了什么?

1 个答案:

答案 0 :(得分:3)

使用./gradlew bootRepackage

尝试