clientBuilder.sslSocketFactory not supported on JDK 9+

て烟熏妆下的殇ゞ 提交于 2019-12-12 12:16:54

问题


I get following error on my project in Eclipse 4.7.0. I have

jdk-9_windows-x64_bin.exe

Resource: pom.xml

Mavan dependency Problem (1 item)
clientBuilder.sslSocketFactory not supported on JDK 9+

on mvn clean install

 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

回答1:


I had the same issue. It happened to me when I tried to start Eclipse with Java 9. Make sure Maven is updated, the latest version should support Java 9.

If your goal is to develop Java 9 applications, you can do so while Eclipse is still running with Java 8. For Eclipse Oxygen 4.7.1 you had to install the now obsolete and no longer available Java 9 Support for Oxygen feature.

Since Oxygen.1a (4.7.1a) Eclipse supports Java 9 by default, so you should update Eclipse.



来源:https://stackoverflow.com/questions/46396382/clientbuilder-sslsocketfactory-not-supported-on-jdk-9

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!