eg:
在src\main\resources添加application.properties配置
server.port=8888
原文:https://www.cnblogs.com/zhf123/p/12266886.html