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

后端 未结 0 1106
耶瑟儿~
耶瑟儿~ 2021-02-12 14:52

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

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