1.配置 spring cloud 的远程服务中心 ,需要先在Git上生成一个仓库。在仓库中配置 .properties 文件
配置连接数据库的四要素
2 .然后创建本地maven文件 在pom.xml中配置 依赖的包
<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">
<modelVersion>4.0.0</modelVersion>
<groupId>cn.et</groupId>
<artifactId>SpringCloud_ConfigServer</artifactId>
<version>0.0.1-SNAPSHOT</versio