码迷,mamicode.com
首页 > 系统相关 > 详细

Maven 添加 memcached

时间:2019-02-23 01:34:57      阅读:238      评论:0      收藏:0      [点我收藏+]

标签:cti   down   手动   http   https   ali   jar   .com   更新   

由于maven repository中没有 memcached 所需要的 jar 包,我们需要从 
https://github.com/gwhalin/Memcached-Java-Client/downloads 
中下载对应版本,手动导入本地maven仓库
导入命令:

mvn install:install-file -Dfile={jarPath} -DgroupId=com.danga -DartifactId=java-memcached  -Dversion=2.6.6 -Dpackaging=jar

最后更新以下配置文件中的依赖项

<dependency>

  <groupId>com.danga</groupId>

  <artifactId>java-memcached</artifactId>

  <version>2.6.6</version>

</dependency>

Maven 添加 memcached

标签:cti   down   手动   http   https   ali   jar   .com   更新   

原文地址:https://www.cnblogs.com/yxfcnbg/p/10421365.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!