MiraiForum

    • 注册
    • 登录
    • 搜索
    • 热门
    • 最新
    • 未解决
    • 标签
    • 群组
    • 友情链接

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

    开发交流
    1
    1
    244
    正在加载更多帖子
    • 从旧到新
    • 从新到旧
    • 最多赞同
    回复
    • 在新帖中回复
    登录后回复
    此主题已被删除。只有拥有主题管理权限的用户可以查看。
    • M
      morlegion 最后由 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 条回复 最后回复 回复 引用 0
      • 1 / 1
      • First post
        Last post
      Powered by Mamoe Technologies & NodeBB | 友情链接 | 服务监控 | Contact