CloudFoundry not fouding cloud profile to connect using Spring Cloud

Flávio Henrique Schuindt da Silva <flavio.schuindt at>

Hi, guys.

i'm following this guide to connect a spring boot app deployed on cf using a mysqlservice bounded to the app (accessing it via spring data jpa etc): .

Everything works fine until Spring Cloud. When the app start, I got it in the logs: No unique service matching interface javax.sql.DataSource found. Expected 1, found 0

The app is bounded to the service but it seems that CF is not setting this "cloud" profile.

What am I missing?

Thanks in advance, guys!