[SpringBoot-02] configuration class

Silicon Valley is still SpringBoot video P10 ~

 

Configuration: one of the parameters defined below, you can modify the default parameters springboot

1、application.properties

Such as: server.port = 8081

2, application.yaml, sample configuration

server:

  port: 8081

 

Guess you like

Origin www.cnblogs.com/clarino/p/12001439.html
Recommended