Springboot startup error: could not resolve placeholder

Springboot1.5, project startup error:

Could not resolve placeholder

Obviously, the configuration file cannot be found. The directory structure of the configuration file is as follows:

It’s normal

You can load the application-dev.properties configuration file

Check the startup working directory of idea. Shit, the default is the root directory of the whole project, not the model of the startup java file of application. Modify and finish it

Similar Posts: