anlingyi / xechat-idea

让你能够在IDEA里实现聊天、下棋、斗地主!
https://xeblog.cn/?tag=xechat-idea
Apache License 2.0
741 stars 149 forks source link

报错了,就想摸个鱼,这么难的么? #99

Open wxdChinese opened 1 year ago

wxdChinese commented 1 year ago

A problem occurred configuring root project 'xechat-plugin'.

Could not resolve all artifacts for configuration ':classpath'. Could not resolve org.jetbrains.intellij.plugins:gradle-intellij-plugin:0.7.2. Required by: project : > org.jetbrains.intellij:org.jetbrains.intellij.gradle.plugin:0.7.2 Could not resolve org.jetbrains.intellij.plugins:gradle-intellij-plugin:0.7.2. Could not get resource 'https://plugins.gradle.org/m2/org/jetbrains/intellij/plugins/gradle-intellij-plugin/0.7.2/gradle-intellij-plugin-0.7.2.module'. Could not GET 'https://jcenter.bintray.com/org/jetbrains/intellij/plugins/gradle-intellij-plugin/0.7.2/gradle-intellij-plugin-0.7.2.module'. sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

anlingyi commented 1 year ago

这个报错可能和你的JDK版本有关🤔。如果没有改动代码的需要,你可以直接在releases中下载打包后的服务端、插件端程序,无需自己手动打包。

Lw520Y commented 2 months ago

解决了吗

Lw520Y commented 2 months ago

这个问题首先要确定你的idea版本,然后对应idea版本下载对应版本的gradle,然后在确定对应的org.jetbrains.intellij 插件版本

Lw520Y commented 2 months ago

可以参考:https://blog.csdn.net/wl1411956542/article/details/129715175