This guide provides comprehensive instructions to set up your development environment for the Sprint 5 Challenge. Proper setup is crucial for successfully implementing the project requirements, focusing on functional requirements, debugging, testing, and memory management.
git clone https://github.com/BloomTechBackend/bd-intermediate-java-project.git
Open your terminal or command prompt and navigate to your preferred directory. Then execute:
git clone https://github.com/BloomTechBackend/bd-intermediate-java-project.git cd bd-intermediate-java-project
The CLI JAR contains tools needed to interact with the application:
The project uses Maven for dependency management:
The project uses Maven to manage dependencies. Let your IDE import all required dependencies automatically, or run:
mvn clean install
Ensure you have Java 11 or higher configured in your IDE.
Run the initial tests to ensure everything is set up correctly:
src/test/java
directorySetupTest.java
fileIf all tests pass, your environment is correctly configured!
If Maven fails to download dependencies, try:
mvn clean install -U
The -U
flag forces Maven to update snapshots and check for newer versions.
Ensure you're using Java 11 or higher. Check your Java version with:
java -version
Configure your IDE to use the correct JDK version for the project.
If initial tests fail, check the error messages for specific issues. Common problems include:
Ensure your IDE is configured to recognize the project structure: