skip to Main Content

Caused by: io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: localhost/127.0.0.1:6379 – Docker

I just migrated from Spring boot 2 to Spring boot 3. When I run the project I get the error | Caused by: io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: localhost/127.0.0.1:6379 | Caused by: java.net.ConnectException: Connection refused | at java.base/sun.nio.ch.Net.pollConnect(Native Method) ~[na:na] | at…

VIEW QUESTION

Needed to filter null values from JSON response in spring boot project

public class APIService { private List<CoinDTO> coinList = new ArrayList<>(); private final TrackerConfigProperties trackerConfig; //Injecting configuration properties into the constructor. public APIService(TrackerConfigProperties trackerConfig) { this.trackerConfig = trackerConfig; } public List<CoinDTO> getCoinList() { return coinList; } public void setCoinList(List<CoinDTO> coinList) {…

VIEW QUESTION
Back To Top
Search