Eclipse JDK 9+;上不支持clientBuilder.sslSocketFactory;

Eclipse JDK 9+;上不支持clientBuilder.sslSocketFactory;,eclipse,maven,java-9,Eclipse,Maven,Java 9,我在Eclipse4.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 , resolu

我在Eclipse4.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

我也有同样的问题。当我试图用Java9启动Eclipse时,我遇到了这种情况。确保Maven已更新,最新版本应支持Java9

如果您的目标是开发Java9应用程序,那么您可以在Eclipse仍然使用Java8运行时这样做。对于EclipseOxygen4.7.1,您必须安装现已过时且不再可用的功能


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

您在什么过程中遇到错误<代码>mvn安装?你能分享更多的日志跟踪吗?请Clipse自动构建我的项目,我通过eclipse的Markers窗口解决了这个问题。如果我尝试安装maven:我得到错误:找不到或加载主类org.codehaus.plexus.classworlds.launcher.launcher,原因是:java.lang.ClassNotFoundException:org.codehaus.plexus.classworlds.launcher.launcher运行
mvn clean install
也会导致类似的失败吗?是吗parent.relativePath在错误的本地POM上的点似乎是您的
POM.xml
中指定的父项的问题您提到的页面不存在。它抛出404。@HemantNagpal谢谢,我已经更新了答案。答案是有点过时了,因为它只适用于旧的4.7.1版本。不要理解这个错误-我在使用原型选择创建maven项目时遇到了同样的问题。我的系统上没有Java9(eclipse在java8上指向java8表示开始,工作区也指向java8)。作为一种解决方法,创建简单的maven项目(即跳过原型选择)