无法使用Intellij Idea社区12.1.4和maven 3.0.5下载源代码 [英] Can not download sources with Intellij Idea community 12.1.4 and maven 3.0.5

查看:351
本文介绍了无法使用Intellij Idea社区12.1.4和maven 3.0.5下载源代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

点击Intellij Idea Community Edition 12.1.4中的下载源代码和文档,得到无法下载源代码的错误。
但是当我尝试:

I click "download sources and documentation" in Intellij Idea Community Edition 12.1.4 and get error that sources can not be downloaded. But when I try:

mvn dependency:sources

所有来源均已下载。

有什么问题?

PS 我已经检查过Idea使用与在控制台中使用相同的maven。在Idea中没有触发任何离线模式按钮。

P.S. I have checked that Idea use the same maven that use in console. There are not any "off line" mode buttons triggered in Idea.

推荐答案

运行 IDEA版本12.1。 6 我也有同样的问题。

Running IDEA version 12.1.6 and I have the same issue.

当我取消选中以下选项时,它确实有效:

When I uncheck the following option it does work:

设置> Maven>导入>使用Maven3导入项目

这篇关于无法使用Intellij Idea社区12.1.4和maven 3.0.5下载源代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆