新手求问一个可能很基础的错误
-
新手,前天开始尝试写插件,是从零开始学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.
- Try: