Error while executing the gradle command given in milestone 1

This error is popping up in terminal whenever i try to execute this command given in the TODO(./gradlew test --tests PortfolioManagerApplicationTest.testCalculateAnnualizedReturn)
Error: Could not find or load main class org.gradle.wrapper.GradleWrapperMain

Although i am able to execute that test function directly through the debugger.

As this is not causing any problem for now, may be it could lead to any problem in later milestone.

Did you check out these links?

Let me know if it helps!

lol my bad after going through the 2nd link i got to know that was in the wrong directory.

Thanks man btw for your help