Spring Could not Resolve placeholder

后端 未结 8 2097
说谎
说谎 2020-12-08 10:29

I\'m fairly new to spring so excuse me if this is a dumb question. When I try to launch a program I get the following error: java.lang.IllegalArgumentException: Could

8条回答
  •  星月不相逢
    2020-12-08 11:22

    Hopefully it will be still helpful, the application.properties (or application.yml) file must be in both the paths:

    • src/main/resource/config
    • src/test/resource/config

    containing the same property you are referring

提交回复
热议问题