Martin Erlic
Martin Erlic

Reputation: 5667

Bash: /gradlew: No such file or directory (Windows)

I'm trying to compile a Springboot application on Amazon AWS:

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

When I try to package the application with Gradle in GitBash I get the following error message:

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

I'm using Windows. I tried git config core.autocrlf false as suggested here: Error with gradlew: /usr/bin/env: bash: No such file or directory. I still have the same issue. What am I missing?

Upvotes: 3

Views: 6064

Answers (1)

Martin Linha
Martin Linha

Reputation: 1019

Try it with ./gradlew bootRepackage

Upvotes: 3

Related Questions