我正在尝试在亚马逊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 false
,但问题仍然存在。请问我还缺少什么呢?
git clone https://github.com/spring-guides/gs-accessing-data-rest.git cd gs-accessing-data-rest/complete
?也就是说,如果现在你执行ls
命令,它会打印出 gradlew 文件存在于当前目录中吗? - Pod\gs-accessing-data-rest\complete\gradlew.bat
。 - Martin Erlic