spring boot 有自己的依賴
<!-- Spring Boot Web 依賴 -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
spring boot 有自己的依賴
<!-- Spring Boot Web 依賴 -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
cp /etc/hosts /etc/hosts_bak hostname |xargs echo 127.0.0.1 >> /etc/hosts