PacktPublishing / Hands-On-Microservices-with-Spring-Boot-and-Spring-Cloud

Hands-On Microservices with Spring Boot and Spring Cloud, published by Packt

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Chapter03 implementing APIs "no active profile set...

kennethelong opened this issue · comments

Hi,

using
Java v. 11.0.13
git v. 2.25.1
curl v. 7.68.0
Spring CLI 2.6.4

I'm trying to build and run the product-service microservices (p. 78 Implementing our API, step 7, 8 and 9) but when I try curl I get an error "curl: (7) Failed to connect to localhost port 7001: Connection refused".
When launching the microservice I get a "No active profile set, falling back to default profiles: default".
I've read this issue: https://githubhot.com/repo/PacktPublishing/Hands-On-Microservices-with-Spring-Boot-and-Spring-Cloud/issues/28, but I cannot find which files I'm supposed to look at or how to resolve the issue.

image

image