English 中文(简体)
英特尔利J不能下载宇宙-lang3-3.12.0源
原标题:IntelliJ cannot download commons-lang3-3.12.0-sources

我看不到有关<条码>commons-lang的任何快速文件。 我去掉了comp子,点击了“土载源”,并找到了:

10:45:40 am: Executing  ijDownloadSources5e1c23e0-5bf ...


> Task :ijDownloadSources5e1c23e0-5bf FAILED
Execution optimizations have been disabled for task  :ijDownloadSources5e1c23e0-5bf  to ensure correctness due to the following reasons:
  - Type  IjDownloadTask  property  collectionProvider  cannot be resolved:  Could not find commons-lang3-3.12.0-sources.jar (org.apache.commons:commons-lang3:3.12.0). Searched in the following locations:  file:/Users/rob.bram/.m2/repository/org/apache/commons/commons-lang3/3.12.0/commons-lang3-3.12.0-sources.jar. Reason: An input file collection couldn t be resolved, making it impossible to determine task inputs. Please refer to https://docs.gradle.org/7.4.2/userguide/validation_problems.html#unresolvable_input for more details about this problem.

Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

You can use  --warning-mode all  to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See https://docs.gradle.org/7.4.2/userguide/command_line_interface.html#sec:command_line_warnings

Execution optimizations have been disabled for 1 invalid unit(s) of work during this build to ensure correctness.
Please consult deprecation warnings for more details.
1 actionable task: 1 executed

FAILURE: Build failed with an exception.

* Where:
Initialization script  /private/var/folders/58/4bhh_y2955x_rrk219q06r2w0000gp/T/ijDownloadSources8.gradle  line: 36

* What went wrong:
Execution failed for task  :ijDownloadSources5e1c23e0-5bf .
> Could not resolve all files for configuration  :downloadSources_65dedda4-dd40-4228-8913-a0787c03f670 .
   > Could not find commons-lang3-3.12.0-sources.jar (org.apache.commons:commons-lang3:3.12.0).
     Searched in the following locations:
         file:/Users/rob.bram/.m2/repository/org/apache/commons/commons-lang3/3.12.0/commons-lang3-3.12.0-sources.jar

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 318ms
10:45:41 am: Execution finished  ijDownloadSources5e1c23e0-5bf .

页: 1

apply plugin:  idea 
idea {
    module {
        excludeDirs += files("node_modules")
        downloadJavadoc = true
        downloadSources = true
    }
}

我确实看到关于其他预报工具的快速文件。 混淆了这种错误。

问题回答

处理托管的正常方式是给建筑设计添加一个存放处,迄今为止,最受欢迎的是Maven 中央。 添加:

repositories {
    mavenCentral()
}

and you should be good to go.





相关问题
IntelliJ IDEA hint parameters of method

I m just swapping from eclipse to IntelliJ, and I can t find this particular feature. In Eclipse, when the cursor is inside the brackets of a method-call and I press Ctrl+Space, it tells me which ...

will installing several IDEs cause problems

I m trying to evaluate a number of IDEs like Eclipse, intelliJ, Aptana, etc. to see which one suits my needs. My question is should I expect any problems from installing several IDEs on the same ...

Restoring the IntelliJ IDEA "Project tab"

By default the IntelliJ IDEA interface contains the following tabs/panels: Project (tabbed to the left) Structure (tabbed to the left) Commander (tabbed to the right) Ant Build (tabbed to the right) ...

Grails 1.1 and how to info level logging

Which setting do I now use to produce logging output with log.info statements within my own controllers? Here s what I ve setup in config.groovy and I thought placing my domain under the info level ...

How to move IntelliJ file tabs?

In IntelliJ, when you open a bunch of source files, is there a way to rearrange the order of the file tabs? In Eclipse you can drag and drop but I don t see a way to do this in IntelliJ.

How to clear the IntelliJ project index?

I ve run into trouble that makes me suspect there is a bad index file that needs to be cleared. The symptoms are: Cmd+N will only find a subset of classes in the project Trying to run JUnit test on a ...

Limiting IntelliJ IDEA import suggestions on completion

When I type the name of a class which will need to be imported, IntelliJ lovingly pops up with a list of suggestions. However, most of the time those suggestions are things I d never want to import, ...

热门标签