Because Fastdfs-client-java-1.27-snapshot.jar this dependency package is not in the MAVEN central repository, it needs to compile its own source into a jar locally installed to Maven's local repository. After installation, you will be able to reference it normally (note: Maven must be installed locally and the MAVEN environment variable is configured)
<Dependency> <groupId>Org.csource</groupId> <Artifactid>Fastdfs-client-java</Artifactid> <version>1.27-snapshot</version></Dependency>
1. Download the Fastdfs-client-java Development Kit
Https://github.com/happyfish100/fastdfs-client-java
2. Need to package the Fastdfs-client-java Development Kit to a local MAVEN repository
2.1 Decompression Fastdfs-client-java-master
2.2 Enter the Fastdfs-client-java directory, where you open the command window cmd
2.3 Input MVN clean install
3. Build a small meeting, as shown below. Successfully packaged the Fastdfs-client-java to a local maven repository
At this point, the Update project Maven,pom.xml file does not appear to be unable to find Fastdfs-client-java dependencies. (Successfully imported Fastdfs-client-java dependency)
Fix maven cannot download Fastdfs-client-java dependency, Dependency ' org.csource:fastdfs-client-java:1.27-snapshot ' not found.