美文网首页
创建Intellij IDEA 2021.1 plugin 报错

创建Intellij IDEA 2021.1 plugin 报错

作者: 大其心宏其量扩其识 | 来源:发表于2021-11-17 18:19 被阅读0次

    想开发一个intellij的插件,从github创建模版导入到 intellij IDEA 2021.2.3(Community Edition)后编辑报错

    A problem occurred configuring root project 'test_intellij_plugin'.
    > Could not resolve all artifacts for configuration ':classpath'.
       > Could not resolve org.jetbrains.intellij.plugins:gradle-intellij-plugin:1.1.6.
         Required by:
             project : > org.jetbrains.intellij:org.jetbrains.intellij.gradle.plugin:1.1.6
          > No matching variant of org.jetbrains.intellij.plugins:gradle-intellij-plugin:1.1.6 was found. The consumer was configured to find a runtime of a library compatible with Java 8, packaged as a jar, and its dependencies declared externally, as well as attribute 'org.gradle.plugin.api-version' with value '7.2' but:
              - Variant 'apiElements' capability org.jetbrains.intellij.plugins:gradle-intellij-plugin:1.1.6 declares a library, packaged as a jar, and its dependencies declared externally:
                  - Incompatible because this component declares an API of a component compatible with Java 11 and the consumer needed a runtime of a component compatible with Java 8
                  - Other compatible attribute:
                      - Doesn't say anything about org.gradle.plugin.api-version (required '7.2')
              - Variant 'runtimeElements' capability org.jetbrains.intellij.plugins:gradle-intellij-plugin:1.1.6 declares a runtime of a library, packaged as a jar, and its dependencies declared externally:
                  - Incompatible because this component declares a component compatible with Java 11 and the consumer needed a component compatible with Java 8
                  - Other compatible attribute:
                      - Doesn't say anything about org.gradle.plugin.api-version (required '7.2')
    
    * 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.
    

    相关文章

      网友评论

          本文标题:创建Intellij IDEA 2021.1 plugin 报错

          本文链接:https://www.haomeiwen.com/subject/rqxrtrtx.html