Module 6 QMoney Build Error

Task :qmoney:compileJava
/home/crio-user/workspace/psumeet1998-ME_QMONEY/qmoney/src/main/java/com/crio/warmup/stock/quotes/AlphavantageService.java:83: error: cannot find symbol
AlphavantageCandle candle = dailyResponses.get(date);
^
symbol: variable date
location: class AlphavantageService
/home/crio-user/workspace/psumeet1998-ME_QMONEY/qmoney/src/main/java/com/crio/warmup/stock/quotes/AlphavantageService.java:85: error: cannot find symbol
candle.setDate(date);
^
symbol: variable date
location: class AlphavantageService
/home/crio-user/workspace/psumeet1998-ME_QMONEY/qmoney/src/main/java/com/crio/warmup/stock/PortfolioManagerApplication.java:201: error: cannot find s
ymbol
String contents = readFileAsString(file);
^
symbol: method readFileAsString(String)
location: class PortfolioManagerApplication
3 errors

Task :qmoney:compileJava FAILED

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ‘:qmoney:compileJava’.

Compilation failed; see the compiler error output for details.

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0.
Use ‘–warning-mode all’ to show the individual deprecation warnings.
See https://docs.gradle.org/5.2.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 5s
1 actionable task: 1 executed

Hi @Sumeet
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

Hmm, could be an issue due to workspace not loading all dependencies well. Please try reloading & if still happens try the action suggested here