spring boot configuration file suffix causes startup failure

 

mistake:

 

 


 

Error reason: The format and content format of the springboot configuration file cannot match (as shown in the following figure

 )

 

 

 solution:

    Change the configuration file application.properties to application.yml

 

  

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326530168&siteId=291194637