解决Maven无法下载fastdfs-client-java依赖,Dependency 'org.csource:fastdfs-client-java:1.27-SNAPSHOT' not found.

因为fastdfs-client-java-1.27-SNAPSHOT.jar这个依赖包在maven*仓库是没有的,

需要自己编译源码成jar本地安装到maven 的本地仓库,安装完以后就能正常引用了(注意:本地必须安装了Maven,并配置好Maven环境变量)

<dependency>
<groupId>org.csource</groupId>
<artifactId>fastdfs-client-java</artifactId>
<version>1.27-SNAPSHOT</version>
</dependency>

1.下载fastdfs-client-java开发工具包

https://github.com/happyfish100/fastdfs-client-java

解决Maven无法下载fastdfs-client-java依赖,Dependency 'org.csource:fastdfs-client-java:1.27-SNAPSHOT' not found.

2.需要把fastdfs-client-java开发工具包打包到本地的Maven仓库

  2.1解压fastdfs-client-java-master

  2.2进入fastdfs-client-java目录,在此处打开命令窗口 cmd

  解决Maven无法下载fastdfs-client-java依赖,Dependency 'org.csource:fastdfs-client-java:1.27-SNAPSHOT' not found.

  2.3输入 mvn clean install

  解决Maven无法下载fastdfs-client-java依赖,Dependency 'org.csource:fastdfs-client-java:1.27-SNAPSHOT' not found.

3.构建一小会,如出现以下。则成功把fastdfs-client-java打包到本地的Maven仓库

  解决Maven无法下载fastdfs-client-java依赖,Dependency 'org.csource:fastdfs-client-java:1.27-SNAPSHOT' not found.

  解决Maven无法下载fastdfs-client-java依赖,Dependency 'org.csource:fastdfs-client-java:1.27-SNAPSHOT' not found.

至此,更新项目Maven,pom.xml文件就不会出现找不到fastdfs-client-java依赖了。(成功导入fastdfs-client-java依赖)

  解决Maven无法下载fastdfs-client-java依赖,Dependency 'org.csource:fastdfs-client-java:1.27-SNAPSHOT' not found.

上一篇:sql中内联 和外联 区别


下一篇:sql server 创建内联表值函数