Unable to run gradlew

As given in QMoney Module 2, I have modified mainReadQuotes(String[] args) by going through the TODOs listed. However when I went ahead to test my code

./gradlew run --args='trades.json 2020-01-01'

I got an error which I was not able to understand.

> Task :qmoney:compileJava FAILED /home/crio-user/workspace/a-pratham1998-ME_QMONEY/qmoney/src/main/java/com/crio/warmup/stock/PortfolioManagerApplication.java:167: error: no suitable method found for sort(List<TotalReturnsDto>) Collections.sort(closingSymbol);

If anyone can explain what the error means it will help me debug it

Hi @APratham
Looks like you are facing challenges in the current module.

Below is a link to all the FAQ’s for the current module

Below are a few similar topics raised by other users which you might find usefull

Note - This is a BETA Feature,if you find this helpful, kindly let us know.
Feedback link - https://forms.gle/cmxN5pdTXgnwgC986

Kindly mark this as a solution if this has helped you solve your query

Hi,
Seems like you sorted it out :slight_smile:

Closing this topic as your issue is resolved by the mentor. If it is still not resolved, Kindly un-mark the accepted solution or create a new topic and post this question as a reference link in the description of the new topic.