MiraiForum

    • Register
    • Login
    • Search
    • Popular
    • Recent
    • Unsolved
    • Tags
    • Groups
    • 友情链接

    新手求问一个可能很基础的错误

    开发交流
    1
    1
    121
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      morlegion last edited by morlegion

      新手,前天开始尝试写插件,是从零开始学kotlin
      今天下午忽然IDEA出现了奇怪的提示,求问是什么情况怎么解决。。。。
      尝试着直接用了没有改动过得mirai-console-plugin-template,但是结果还是一样。。。。

      Could not determine the dependencies of task ':compileKotlin'.

      Could not resolve all files for configuration ':kotlinCompilerClasspath'.
      Could not resolve org.jetbrains.kotlin:kotlin-compiler-embeddable:1.4.30.
      Required by:
      project :
      Could not resolve org.jetbrains.kotlin:kotlin-compiler-embeddable:1.4.30.
      Could not get resource 'https://maven.aliyun.com/repository/public/org/jetbrains/kotlin/kotlin-compiler-embeddable/1.4.30/kotlin-compiler-embeddable-1.4.30.pom'.
      Could not HEAD 'https://maven.aliyun.com/repository/public/org/jetbrains/kotlin/kotlin-compiler-embeddable/1.4.30/kotlin-compiler-embeddable-1.4.30.pom'.
      java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
      Could not resolve org.jetbrains.kotlin:kotlin-compiler-embeddable:1.4.30.
      Could not get resource 'https://repo.maven.apache.org/maven2/org/jetbrains/kotlin/kotlin-compiler-embeddable/1.4.30/kotlin-compiler-embeddable-1.4.30.pom'.
      Could not HEAD 'https://repo.maven.apache.org/maven2/org/jetbrains/kotlin/kotlin-compiler-embeddable/1.4.30/kotlin-compiler-embeddable-1.4.30.pom'.
      java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty

      • 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.
      1 Reply Last reply Reply Quote 0
      • 1 / 1
      • First post
        Last post
      Powered by Mamoe Technologies & NodeBB | 友情链接 | 服务监控 | Contact