社区
Java
帖子详情
idea中无法拉取私服jar是什么原因?
一剑荒芜
2021-03-29 04:32:07
hutool包下的可以下载,但是jian下的无法下载
...全文
1151
8
打赏
收藏
idea中无法拉取私服jar是什么原因?
hutool包下的可以下载,但是jian下的无法下载
复制链接
扫一扫
分享
转发到动态
举报
AI
作业
写回复
配置赞助广告
用AI写文章
8 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
huwentaocn
2021-07-02
打赏
举报
回复
题主问题解决了吗?我也遇到了,求教
一剑荒芜
2021-07-02
举报
回复
@huwentaocn
配置一下setting.xml文件 <?xml version="1.0" encoding="UTF-8"?> <settings xmlns="
http://maven.apache.org/SETTINGS/1.0.0"
; xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance"
; xsi:schemaLocation="
http://maven.apache.org/SETTINGS/1.0.0
http://maven.apache.org/xsd/settings-1.0.0.xsd"
;> <!--<mirrors>--> <!--<!– 云闪付 –>--> <!--<mirror>--> <!--<id>nexus</id>--> <!--<mirrorOf>central</mirrorOf>--> <!--<url>http://10.20.20.131:8081/repository/maven-public/</url>--> <!--</mirror>--> <!--</mirrors>--> <!--<profiles>--> <!--<profile>--> <!--<id>development</id>--> <!--<activation>--> <!--<jdk>1.8</jdk>--> <!--<activeByDefault>true</activeByDefault>--> <!--</activation>--> <!--<properties>--> <!--<maven.compiler.source>1.8</maven.compiler.source>--> <!--<maven.compiler.target>1.8</maven.compiler.target>--> <!--<maven.compiler.compilerVersion>1.8</maven.compiler.compilerVersion>--> <!--</properties>--> <!--</profile>--> <!--<profile>--> <!--<!–profile 的 id–>--> <!--<id>dev</id>--> <!--<repositories>--> <!--<repository>--> <!--<!–仓库 id,repositories 可以配置多个仓库,保证 id 不重复–>--> <!--<id>nexus</id>--> <!--<!–仓库地址,即 nexus 仓库组的地址–>--> <!--<url>http://10.20.20.130:8081/repository/maven-public/</url>--> <!--<!–是否下载 releases 构件–>--> <!--<releases>--> <!--<enabled>true</enabled>--> <!--</releases>--> <!--<!–是否下载 snapshots 构件–>--> <!--<snapshots>--> <!--<enabled>true</enabled>--> <!--</snapshots>--> <!--</repository>--> <!--</repositories>--> <!--<pluginRepositories>--> <!--<!– 插件仓库,maven 的运行依赖插件,也需要从私服下载插件 –>--> <!--<pluginRepository>--> <!--<!– 插件仓库的 id 不允许重复,如果重复后边配置会覆盖前边 –>--> <!--<id>public</id>--> <!--<name>Public Repositories</name>--> <!--<url>http://10.20.20.131:8081/repository/maven-public/</url>--> <!--</pluginRepository>--> <!--</pluginRepositories>--> <!--</profile>--> <!--</profiles>--> <!--<activeProfiles>--> <!--<activeProfile>dev</activeProfile>--> <!--</activeProfiles>--> <localRepository>E:\Java\maven3.5\repositor</localRepository> </settings>
一剑荒芜
2021-03-31
打赏
举报
回复
maven镜像没有问题,只设置了私服地址。
韩_师兄
2021-03-31
打赏
举报
回复
maven中镜像设置有没有问题啊
一剑荒芜
2021-03-31
打赏
举报
回复
本地没有,如我发的图片jian这个包就没下载下来
Forevermark993
2021-03-31
打赏
举报
回复
先判断是不是本地有jian的缓存,如果有,先删除再下载
一剑荒芜
2021-03-30
打赏
举报
回复
https://img-bbs.csdn.net/upload/202103/30/1617086273_480318.png这个没用
KeepSayingNo
2021-03-30
打赏
举报
回复
阿里云maven
私服
jar
包上传和
拉取
教程
1、搭建阿里云maven
私服
仓库 2、本地
jar
手动上传到阿里云maven
私服
仓库 3、本地项目通过
idea
自动上传到阿里云maven
私服
仓库 4、从阿里云
私服
仓库
拉取
maven依赖的
jar
包
gradle不能下载最新依赖包问题
亲身测试,解决了gradle不能下载自定义最新
jar
包。
Intellij
IDEA
导入JAVA项目并启动(图文教程)
主要介绍了Intellij
IDEA
导入JAVA项目并启动,文
中
通过示例代码介绍的非常详细,对大家的学习或者工作具有一定的参考学习价值,需要的朋友们下面随着小编来一起学习学习吧
idea
maven
无法
从
私服
下载
jar
和plugin
一、清除.lastUpdated文件,重新导入。不行的画查看第二步。 二、检查
私服
的配置,再浏览器
中
输入
私服
的地址看看
私服
中
是否存在,不存在
jar
包是
无法
下载的。 三、判断是否是网络
原因
。网速不好会导致该问题。 四、如果配置都没错的的话,检查
idea
中
的maven配置,如下图,虽然制定了seting.xml的路径,但是有时候可能不生效。把需要指定的setting.xml放到maven的conf下,覆盖掉原先的setting.xml。我的是2019.2版本的
idea
,会存在这个问题。 五、对于
无法
下载plug
解决
IDEA
中
maven
拉取
不到
私服
依赖
(26条消息) 解决
无法
从公司 Maven
私服
下载依赖的问题_BigBox124的博客-CSDN博客
Java
51,396
社区成员
85,836
社区内容
发帖
与我相关
我的任务
Java
Java相关技术讨论
复制链接
扫一扫
分享
社区描述
Java相关技术讨论
java
spring boot
spring cloud
技术论坛(原bbs)
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章