properties from 'application.yml' not loading for standalone application when you try to run JUnit Test against it

后端 未结 0 2049
粉色の甜心
粉色の甜心 2021-02-12 15:15

I have class application which run fine when you run it as spring boot application and loads the properties from src/main/resources/application.yml like below

<
相关标签:
回答
  • 消灭零回复
提交回复
热议问题