Caused by: java.lang.IllegalArgumentException: Could not resolve placeholder ‘myprops.mysql.url’ in value “${myprops.mysql.url}”
Carefully checked that there is no error, it is the problem of application.yml
-
Check if the environment is configured
-
Check whether the environment name is wrong
-
Check whether there are fewer spaces before the environment name.
Correct format: