• <bdo id='3wUGL'></bdo><ul id='3wUGL'></ul>
    <legend id='3wUGL'><style id='3wUGL'><dir id='3wUGL'><q id='3wUGL'></q></dir></style></legend>
  • <i id='3wUGL'><tr id='3wUGL'><dt id='3wUGL'><q id='3wUGL'><span id='3wUGL'><b id='3wUGL'><form id='3wUGL'><ins id='3wUGL'></ins><ul id='3wUGL'></ul><sub id='3wUGL'></sub></form><legend id='3wUGL'></legend><bdo id='3wUGL'><pre id='3wUGL'><center id='3wUGL'></center></pre></bdo></b><th id='3wUGL'></th></span></q></dt></tr></i><div id='3wUGL'><tfoot id='3wUGL'></tfoot><dl id='3wUGL'><fieldset id='3wUGL'></fieldset></dl></div>

    1. <tfoot id='3wUGL'></tfoot>

      <small id='3wUGL'></small><noframes id='3wUGL'>

        在 Eclipse 中导入 Gradle 项目时对等体未通过身份验

        时间:2023-09-28

        <small id='GHt7G'></small><noframes id='GHt7G'>

          <tbody id='GHt7G'></tbody>

        • <tfoot id='GHt7G'></tfoot>
            <bdo id='GHt7G'></bdo><ul id='GHt7G'></ul>

            <legend id='GHt7G'><style id='GHt7G'><dir id='GHt7G'><q id='GHt7G'></q></dir></style></legend>

                1. <i id='GHt7G'><tr id='GHt7G'><dt id='GHt7G'><q id='GHt7G'><span id='GHt7G'><b id='GHt7G'><form id='GHt7G'><ins id='GHt7G'></ins><ul id='GHt7G'></ul><sub id='GHt7G'></sub></form><legend id='GHt7G'></legend><bdo id='GHt7G'><pre id='GHt7G'><center id='GHt7G'></center></pre></bdo></b><th id='GHt7G'></th></span></q></dt></tr></i><div id='GHt7G'><tfoot id='GHt7G'></tfoot><dl id='GHt7G'><fieldset id='GHt7G'></fieldset></dl></div>
                  本文介绍了在 Eclipse 中导入 Gradle 项目时对等体未通过身份验证的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

                  问题描述

                  当我在 eclipse 中导入 gradle 项目时,它给了我这个错误.

                  FAILURE:构建失败并出现异常.* 什么地方出了错:配置根项目测试"时出现问题.>无法解析配置 ':classpath' 的所有依赖项.>无法解析 de.richsource.gradle.plugins:gwt-gradle-plugin:0.3.要求::测试:未指定>无法获取'https://github.com/steffenschaefer/gwt-gradle-plugin/raw/maven-repo/de/richsource/gradle/plugins/gwt-gradle-plugin/0.3/gwt-gradle-plugin-0.3.庞'.>对等体未通过身份验证* 尝试:使用 --stacktrace 选项运行以获取堆栈跟踪.使用 --info 或 --debug 选项运行以获得更多日志输出.

                  我通过代理连接使用互联网.如果这是问题所在,那么在 eclipse 中指定代理设置的位置.在General-->网络连接中,代理设置已经存在

                  请帮忙.

                  解决方案

                  注意:在执行这些步骤之前,请确保服务器是可信任的.

                  如果您遇到任何其他类似的错误:

                   无法获取https://some_server.com/some/path/some.pom".>对等体未通过身份验证

                  那你需要导入证书:

                  • 打开'https://some_server.com/some/path/some.pom' 在您最喜欢的浏览器中
                  • 使用 步骤导出证书从网站导出证书
                  • 将 cer 复制到 JDK_HOME/jre/lib/security 文件夹中
                  • 打开一个shell并进入JDK_HOME/jre/lib/security文件夹
                  • 然后使用 cer 将 cer 导入到 java 中
                  <块引用>

                  keytool -import -alias <服务器的简称>-文件 <cert_file_name_you_exported.cer>-keystore cacerts -storepass changeit

                  它会提示你导入证书,输入yes然后回车.

                  然后重新启动你的 Eclipse 并尝试构建项目.

                  While I am importing gradle project in eclipse, it is giving me this error.

                  FAILURE: Build failed with an exception.
                  
                  * What went wrong:
                  A problem occurred configuring root project 'test'.
                  > Could not resolve all dependencies for configuration ':classpath'.
                     > Could not resolve de.richsource.gradle.plugins:gwt-gradle-plugin:0.3.
                       Required by:
                           :test:unspecified
                        > Could not GET 'https://github.com/steffenschaefer/gwt-gradle-plugin/raw/maven-repo/de/richsource/gradle/plugins/gwt-gradle-plugin/0.3/gwt-gradle-plugin-0.3.pom'.
                           > peer not authenticated
                  
                  * Try:
                  Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
                  

                  I am using internet via proxy connection. If that is the issue, where to specify the proxy settings inside eclipse. In General-->Network connections, proxy settings are already there

                  Please help.

                  解决方案

                  NOTE: Please ensure the server is trustworthy before you follow these steps.

                  If you get any other error like this:

                   Could not GET 'https://some_server.com/some/path/some.pom'.
                       > peer not authenticated
                  

                  Then you need to import a certificate :

                  • open the 'https://some_server.com/some/path/some.pom' in your favorite browser
                  • export the cert using the Steps to export cert from a web site
                  • copy the cer into JDK_HOME/jre/lib/security folder
                  • open a shell and go to JDK_HOME/jre/lib/security folder
                  • then import the cer into java using the

                  keytool -import -alias <the short name of the server> -file <cert_file_name_you_exported.cer> -keystore cacerts -storepass changeit
                  

                  It will prompt you to import the certificate, type yes and press enter.

                  Then restart your eclipse and try building the project.

                  这篇关于在 Eclipse 中导入 Gradle 项目时对等体未通过身份验证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!

                  上一篇:谷歌材料设计库错误程序类型已经存在:android.s 下一篇:错误:任务“:app:packageRelease"执行失败.&gt

                  相关文章

                  最新文章

                  1. <legend id='AJBK9'><style id='AJBK9'><dir id='AJBK9'><q id='AJBK9'></q></dir></style></legend>

                        <bdo id='AJBK9'></bdo><ul id='AJBK9'></ul>
                    1. <tfoot id='AJBK9'></tfoot>
                    2. <small id='AJBK9'></small><noframes id='AJBK9'>

                    3. <i id='AJBK9'><tr id='AJBK9'><dt id='AJBK9'><q id='AJBK9'><span id='AJBK9'><b id='AJBK9'><form id='AJBK9'><ins id='AJBK9'></ins><ul id='AJBK9'></ul><sub id='AJBK9'></sub></form><legend id='AJBK9'></legend><bdo id='AJBK9'><pre id='AJBK9'><center id='AJBK9'></center></pre></bdo></b><th id='AJBK9'></th></span></q></dt></tr></i><div id='AJBK9'><tfoot id='AJBK9'></tfoot><dl id='AJBK9'><fieldset id='AJBK9'></fieldset></dl></div>