Open snowuyl opened 6 days ago
Hi @snowuyl. I ran through the guide and ./gradlew bootRun
worked fine for me. I was able to then execute the curl commands for get and add as well. Perhaps it is an environment issue? I updated this guide with an Intel Mac and I just tested with an Apple silicon Mac.
The CI environment also looks clean, so I don't think it's a problem with the example code.
The guide requires a local docker environment to be available. Is Docker Desktop running? If I stop running Docker Desktop locally I get an error similar to what you posted. This was the stack trace above:
Stderr:
Cannot connect to the Docker daemon at unix:///Users/<my_user>/.docker/run/docker.sock. Is the docker daemon running?
./gradlew bootRun ... ... 30 common frames omitted
FAILURE: Build failed with an exception.
What went wrong: Execution failed for task ':bootRun'.
Try:
Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
For more on this, please refer to https://docs.gradle.org/8.7/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
BUILD FAILED in 11m 16s 4 actionable tasks: 4 executed