clientbuilder.sslSocketFactory在JDK 9+上不受支持

问题描述:

我在Eclipse 4.7.0的项目中遇到以下错误。我有clientbuilder.sslSocketFactory在JDK 9+上不受支持

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 
+0

你得到什么错误? 'mvn install'?并可以分享更多的日志痕迹请 – nullpointer

+0

eclipse自动构建我的项目,我通过日食标记窗口得到这个问题。如果我尝试安装maven:我得到错误:无法找到或加载主类org.codehaus.plexus.classworlds.launcher.Launcher 引起:java.lang.ClassNotFoundException:org.codehaus.plexus.classworlds.launcher.Launcher –

+0

确实运行'mvn clean install'也导致类似的失败? – nullpointer

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

如果您的目标是开发Java 9应用程序,那么您可以在Eclipse仍然运行时使用Java 8运行。您只需安装Java 9 Support for Oxygen并按照该页面上的说明进行操作。