1、在父工程 “microservicecloud” 下新建一个 Module,名称为 “provider-8201”
2、修改 pom.xml 文件
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>microservicecloud</artifactId>
<groupId>com.lakey.springcloud</groupId>
<version>1.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>provider-8201</artifactId>
<name>provider-8201</name>
<description>Provider 8201</description>
<dependencies>
<!-- Eureka 客户端依赖 -->
<dependency>