微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

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

如何解决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 举报,一经查实,本站将立刻删除。