Gradle:无法解析 com.jetbrains.intellij.idea:ideaIC:LATEST-EAP-SNAPSHOT

问题描述

有人可以帮助我为什么在 intellij 中创建插件项目时出现这些错误吗? .

    FAILURE: Build completed with 2 failures.


  
1: Task Failed with an exception.
-----------
* Where:
Build file 'C:\Users\me\IdeaProjects\javaplugin\build.gradle' line: 22

* What went wrong:
A problem occurred evaluating root project 'javaplugin'.
> No signature of method: build_8zcj5qi9nkyzl6th0l3r3fq76.patchPluginXml() is applicable for argument types: (build_8zcj5qi9nkyzl6th0l3r3fq76$_run_closure4) values: [build_8zcj5qi9nkyzl6th0l3r3fq76$_run_closure4@22962753]

* 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.

================================================ ==================================

  2: Task Failed with an exception.
    -----------
    * What went wrong:
    A problem occurred configuring root project 'javaplugin'.
    > Could not resolve all files for configuration ':detachedConfiguration1'.
       > Could not resolve com.jetbrains.intellij.idea:ideaIC:LATEST-EAP-SNAPSHOT.
         required by:
             project :
          > Could not resolve com.jetbrains.intellij.idea:ideaIC:LATEST-EAP-SNAPSHOT.
             > Unable to load Maven Meta-data from https://cache-redirector.jetbrains.com/www.jetbrains.com/intellij-repository/snapshots/com/jetbrains/intellij/idea/ideaIC/LATEST-EAP-SNAPSHOT/maven-Metadata.xml.
                > Could not get resource 'https://cache-redirector.jetbrains.com/www.jetbrains.com/intellij-repository/snapshots/com/jetbrains/intellij/idea/ideaIC/LATEST-EAP-SNAPSHOT/maven-Metadata.xml'.
                   > Could not GET 'https://www.jetbrains.com/intellij-repository/snapshots/com/jetbrains/intellij/idea/ideaIC/LATEST-EAP-SNAPSHOT/maven-Metadata.xml'.
                      > www.jetbrains.com
    
    * 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 5s

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)