java.lang.IllegalStateException: Failed to load property source from ‘file:/xxx/config-client.yml‘

When I started a sprincloud project to connect to the github warehouse, I reported this error.

Insert picture description here
Insert picture description here

I finally found out that it was because I added a comment, so just delete the comment.

Insert picture description here

Guess you like

Origin blog.csdn.net/weixin_44635198/article/details/108910463