1.创建springboot demo项目,(至于如何创建springboot项目,基于https://start.spring.io/) 1.1项目启动,初始化apollo配置监听,(下面都是为了测试,生产环境清自行优化) 1.2pom.xm引入相关的依赖