ZupIT/beagle

fix: file 'gradlew.bat' not found on Windows environment

Closed this issue · 0 comments

Description

BFF server script is failing on Windows because it can't find file gradlew.bat in /backend folder. The error message is this:

Caused by: java.io.IOException: Cannot run program "gradlew.bat" (in directory "C:\zup-projects\beagle\backend"): CreateProcess error=2, The system cannot find the file specified

However, the file exists: https://github.com/ZupIT/beagle/blob/main/backend/gradlew.bat

Steps To Reproduce

  1. On a Windows machine, go to Beagle's root dir
  2. Execute the command tests/bff-server/gradlew.bat bootRun -p tests/bff-server/bff