Eureka集群和负载均衡
1.先删除掉src,然后只留pom.xml
<modules>
<module>springcloud-api</module>
<module>springcloud-provider-dept-8002</module>
<module>springcloud-consumer-dept-80</module>
<module>springcloud-eureka-7001</module>
<module>springcloud-eurake-7002</module>
<module>springcloud-eurake-7003</module>
<module>springcloud-provider-dept-8003</module>
<module>springcloud-provider-dept-8004</module>
<module>springcloud-consumer-dept-feign</module>
<module>springcloud-provider-dept-hystrix-8002</module>
</modules>
<!--打包方式-->
<packaging>pom</packaging>
<properties>
<project.buile.sourceEncoding>UTF-8</project.buile.sourceEncoding>
<maven-compiler-source>1.8</maven-compiler-source>
<maven-compiler-target>1.8</maven-compiler-target>
<junit.version>4.12</junit.version>
<lombok.version>1.16.10</lombok.version>
<log4j.version>1.2.17</log4j.version>
</properties>
<dependencyManagement>