本文介绍了Eclipse:JDK 9+上不支持clientBuilder.sslSocketFactory的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Eclipse oxygen 4.7.0,java 1.8上遇到此错误

I'm getting this error on Eclipse oxygen 4.7.0, java 1.8

clientBuilder.sslSocketFactory

clientBuilder.sslSocketFactory not supported on JDK 9+

与Eclipse有关,maven ..试图更新Maven:Alt + f5解析/处理pom时,模块okhttp3尝试连接..

related to Eclipse, maven ..trying to update Maven : Alt+f5the module okhttp3 trying to connect .. when resolving/processing pom

我根本没有JDK9.查看了关于stackoverflow的所有其他类似报告,没有相关的报告.

I dont have JDK9 at all.Looked at all the other similar reports on stackoverflow, none is related.

推荐答案

您可以在带有JDK8的Eclipse错误517113 .

错误调用堆栈表明对使用OpenJDK编译的库的外部依赖关系

The error call stack indicates an external dependencies to a library compiled with OpenJDK

如此处所示,还要在Eclipse中检查您的JDK声明

As seen here, check also your JDK declaration in your Eclipse

其他可能的原因:错误的依赖性,如 PR 3066 此问题.

Other possible cause: wrong dependency, as show by PR 3066 or this question.

这篇关于Eclipse:JDK 9+上不支持clientBuilder.sslSocketFactory的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-12 20:14