1 根据url路径,引入工程中
<repositories>
<repository>
<id>com.e-iceblue</id>
<name>e-iceblue</name>
<url>https://repo.e-iceblue.cn/repository/maven-public/</url>
</repository>
</repositories>
2 根据下载的jar包,引入工程中
<dependency>
<groupId>org.csource</groupId>
<artifactId>fastdfs-client-java</artifactId>
<version>1.27-RELEASE</version>
<scope>system</scope>
<systemPath>${project.basedir}/lib/fastdfs-client-java-1.27.jar</systemPath>
</dependency>
设置includeSystemScope为true
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<!-- 如果没有该项配置,devtools不会起作用,即应用不会restart -->
<fork>true</fork>
<includeSystemScope>true</includeSystemScope>
</configuration>
</plugin>