Getting a lot of import errors in Qmoney Module 2

I am getting a lot of import errors in Qmoney Module2 like the following:
PortfolioManagerApplication.java:15: error: package com.crio.warmup.stock.dto does not exist
import com.crio.warmup.stock.dto.PortfolioTrade;
^
PortfolioManagerApplication.java:16: error: package com.crio.warmup.stock.log does not exist
import com.crio.warmup.stock.log.UncaughtExceptionHandler;
^
PortfolioManagerApplication.java:17: error: package com.fasterxml.jackson.databind does not exist
import com.fasterxml.jackson.databind.ObjectMapper;
^
PortfolioManagerApplication.java:18: error: package com.fasterxml.jackson.datatype.jsr310 does not exist
import com.fasterxml.jackson.datatype.jsr310.JavaTimeModule;
^
PortfolioManagerApplication.java:21: error: package com.crio.warmup.stock.dto does not exist
import com.crio.warmup.stock.dto.PortfolioTrade;
^
PortfolioManagerApplication.java:22: error: package com.crio.warmup.stock.log does not exist
import com.crio.warmup.stock.log.UncaughtExceptionHandler;
^
PortfolioManagerApplication.java:23: error: package com.fasterxml.jackson.databind does not exist
import com.fasterxml.jackson.databind.ObjectMapper;
^
PortfolioManagerApplication.java:24: error: package com.fasterxml.jackson.datatype.jsr310 does not exist
import com.fasterxml.jackson.datatype.jsr310.JavaTimeModule;
^
PortfolioManagerApplication.java:26: error: package org.apache.logging.log4j does not exist
import org.apache.logging.log4j.ThreadContext;
^
PortfolioManagerApplication.java:71: error: cannot find symbol
Thread.setDefaultUncaughtExceptionHandler(new UncaughtExceptionHandler());
^
symbol: class UncaughtExceptionHandler
location: class PortfolioManagerApplication
PortfolioManagerApplication.java:72: error: cannot find symbol
ThreadContext.put(“runId”, UUID.randomUUID().toString());
^
symbol: variable ThreadContext
location: class PortfolioManagerApplication

Is this due to merge conflict resolution issue?

Take a look at this

Hey look into this and always search for FAQs

1 Like