diff --git a/versioned_docs/version-2.0.0/quickstart/java-spring-boot-mongo.md b/versioned_docs/version-2.0.0/quickstart/java-spring-boot-mongo.md index 3ca6a7e2e..7634d7212 100644 --- a/versioned_docs/version-2.0.0/quickstart/java-spring-boot-mongo.md +++ b/versioned_docs/version-2.0.0/quickstart/java-spring-boot-mongo.md @@ -58,7 +58,11 @@ mvn wrapper:wrapper ./mvnw clean install ``` -> **Note**: For Windows, use `mvnw.cmd clean install` +> **Windows users:** +> Use `.\mvnw.cmd clean install` and `.\mvnw.cmd spring-boot:run` in PowerShell +> Use `mvnw.cmd` in CMD (Command Prompt) +> +> If you're using WSL (Windows Subsystem for Linux), use the regular `./mvnw` syntax. ## Install Keploy 📥 @@ -160,6 +164,15 @@ This will run the tests and generate the report in the `Keploy/reports` director Final thoughts? Dive deeper! Try different API calls, tweak the DB response in the `mocks.yml`, or fiddle with the request or response in `test-x.yml`. We provided you with some data in [potions.json](https://github.com/keploy/samples-java/blob/main/spring-boot-mongo/potions.json). Run the tests again and see the magic unfold! ✨👩‍💻👨‍💻✨ +## 🛠️ Troubleshooting + +| Issue | Cause | Solution | +|------ |-------|----------| +| `./mvnw: Permission denied` | Missing execute permission | Run `chmod +x mvnw` | +| MongoDB not reachable | Docker container isn't running | Check with `docker ps` and start MongoDB again | +| Spring Boot not detecting Mongo | Wrong port or container name | Ensure `--name spring-boot-mongo` and port `27017` are correct | + + ## Wrapping it up 🎉 Congrats on the journey so far! You've seen Keploy's power, flexed your coding muscles, and had a bit of fun too! Now, go out there and keep exploring, innovating, and creating! Remember, with the right tools and a sprinkle of fun, anything's possible. 😊🚀