Getting lots of errors in the /com/crio/warmup/stock/dto/AlphavantageDailyResponse.java file

I am getting a lot of errors in the /com/crio/warmup/stock/dto/AlphavantageDailyResponse.java file, when i run

./gradlew publishToMavenLocal

These are the errors:

/home/crio-user/workspace/omkarlubal-ME_QMONEY/qmoney/src/main/java/com/crio/warmup/stock/dto/AlphavantageDailyResponse.java:13: error: cannot find symbol
private Map<LocalDate, AlphavantageCandle> candles;
^
symbol: class AlphavantageCandle
location: class AlphavantageDailyResponse
/home/crio-user/workspace/omkarlubal-ME_QMONEY/qmoney/src/main/java/com/crio/warmup/stock/dto/AlphavantageDailyResponse.java:15: error: cannot find symbol
public Map<LocalDate, AlphavantageCandle> getCandles() {
^
symbol: class AlphavantageCandle
location: class AlphavantageDailyResponse
/home/crio-user/workspace/omkarlubal-ME_QMONEY/qmoney/src/main/java/com/crio/warmup/stock/dto/AlphavantageDailyResponse.java:20: error: cannot find symbol
Map<LocalDate, AlphavantageCandle> candles) {
^
symbol: class AlphavantageCandle
location: class AlphavantageDailyResponse
/home/crio-user/workspace/omkarlubal-ME_QMONEY/qmoney/src/main/java/com/crio/warmup/stock/dto/AlphavantageCandle.java:9: error: cannot find symbol
public class AlphavantageCandle implements Candle {
^
symbol: class Candle
/home/crio-user/workspace/omkarlubal-ME_QMONEY/qmoney/src/main/java/com/crio/warmup/stock/dto/AlphavantageCandle.java:15: error: cannot find symbol
private Date date;
^
symbol: class Date
location: class AlphavantageCandle
/home/crio-user/workspace/omkarlubal-ME_QMONEY/qmoney/src/main/java/com/crio/warmup/stock/dto/AlphavantageCandle.java:10: error: cannot find symbol
@JsonProperty(“1. open”)
^
symbol: class JsonProperty
location: class AlphavantageCandle
/home/crio-user/workspace/omkarlubal-ME_QMONEY/qmoney/src/main/java/com/crio/warmup/stock/quotes/AlphavantageService.java:18: error: AlphavantageService is not abstract and does not override abstract method getStockQuote(String,LocalDate,LocalDate) in StockQuotesService
public class AlphavantageService implements StockQuotesService {
^
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
7 errors

Should i resolve them on my own or is it a mistake?

Hey @omkarlubal,
It seems that you have not imported the required classes into AlphavantageDailyResponse.java
import the required classes.

1 Like

Yes i know that i haven’t imported but my question was should we solve these errors or they have come there by mistake.
But i solved them on my own now, let’s see what happens. :stuck_out_tongue:

Is your issue resolved now?

Yes it has. Thanks for asking!