Fix maven cannot download Fastdfs-client-java dependency, Dependency ' org.csource:fastdfs-client-java:1.27-snapshot ' not found.

Source: Internet
Author: User
Tags maven central

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.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.