# spring-boot-demo-admin-server > 本 demo 主要演示了如何搭建一个 Spring Boot Admin 的服务端项目,可视化展示自己客户端项目的运行状态。 ## pom.xml ```xml 4.0.0 spring-boot-demo-admin-server 1.0.0-SNAPSHOT jar spring-boot-demo-admin-server Demo project for Spring Boot com.xkcoding spring-boot-demo-admin 1.0.0-SNAPSHOT UTF-8 UTF-8 1.8 org.springframework.boot spring-boot-starter-web de.codecentric spring-boot-admin-starter-server org.springframework.boot spring-boot-starter-test test spring-boot-demo-admin-server org.springframework.boot spring-boot-maven-plugin ``` ## SpringBootDemoAdminServerApplication.java ```java /** *

* 启动类 *

* * @package: com.xkcoding.admin.server * @description: 启动类 * @author: yangkai.shen * @date: Created in 2018/10/8 2:08 PM * @copyright: Copyright (c) 2018 * @version: V1.0 * @modified: yangkai.shen */ @EnableAdminServer @SpringBootApplication public class SpringBootDemoAdminServerApplication { public static void main(String[] args) { SpringApplication.run(SpringBootDemoAdminServerApplication.class, args); } } ``` ## application.yml ```yaml server: port: 8000 ```