gpt4 book ai didi

eclipse - JDK 9+ 不支持 clientBuilder.sslSocketFactory

转载 作者:行者123 更新时间:2023-12-03 17:05:14 28 4
gpt4 key购买 nike

我在 Eclipse 4.7.0 中的项目中出现以下错误。我有

jdk-9_windows-x64_bin.exe

资源:pom.xml
Mavan dependency Problem (1 item)
clientBuilder.sslSocketFactory not supported on JDK 9+

在 mvn 全新安装
 in http://repo.maven.apache.org/maven2 was cached in the local repository
, resolution will not be reattempted until the update interval of central has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM
@ line 5, column 10 -> [Help 2]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException

最佳答案

我遇到过同样的问题。当我尝试使用 Java 9 启动 Eclipse 时发生了这种情况。确保 Maven 已更新,最新版本应支持 Java 9。

如果您的目标是开发 Java 9 应用程序,您可以在 Eclipse 仍在使用 Java 8 运行时执行此操作。对于 Eclipse Oxygen 4.7.1,您必须安装现已过时且不再可用的 Java 9 Support for Oxygen特征。

由于 Oxygen.1a (4.7.1a) Eclipse 默认支持 Java 9,因此您应该更新 Eclipse。

关于eclipse - JDK 9+ 不支持 clientBuilder.sslSocketFactory,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46396382/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com