MiraiForum

    • 注册
    • 登录
    • 搜索
    • 热门
    • 最新
    • 未解决
    • 标签
    • 群组
    • 友情链接
    1. 主页
    2. morlegion
    3. 帖子
    M
    • 资料
    • 关注 0
    • 粉丝 0
    • 主题 1
    • 帖子 1
    • 最佳 0
    • 有争议的 0
    • 群组 0

    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.
      发布在 开发交流
      M
      morlegion
    • 1 / 1