- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我在 Eclipse 4.7.0 中的项目中出现以下错误。我有
jdk-9_windows-x64_bin.exe
Mavan dependency Problem (1 item)
clientBuilder.sslSocketFactory not supported on JDK 9+
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/
我在 Entity 中使用 lombok 项目,这里是我的示例: package com.company.entities;//<---------Note the package import ja
我正在尝试使用 Jersey 框架构建一个 RESTFul 客户端,所以我添加了以下类: import javax.ws.rs.client.Client; import javax.ws.rs.cl
关于 javax.ws.rs.client.ClientBuilder,我已经阅读了 JavaDoc和 Jersey Documentation , 但我仍然不清楚什么时候应该使用 newClient
我在 Eclipse 4.7.0 中的项目中出现以下错误。我有 jdk-9_windows-x64_bin.exe 资源:pom.xml Mavan dependency Problem (1 ite
我有一个 Java 64 位 Eclipse 应用程序,Eclipse 在 Windows 7 Pro x64 上运行。 我下载了 Jersey包,jaxrs-ri-2.7.zip,用于客户端 RES
我正在使用 CXF ClientBuilder 将 POST 数据发送到 REST 服务。我现在得到的回复如下所示: errorCode=206&errorMessage=blah+blah 我想将其
我有一个正在部署到 wildfly 8.1.0 Final 的网络应用程序。它使用了 Spring、RESTEasy 等。在代码的一个地方,一个 ClientBuilder需要创建一个 javax.w
我在 Eclipse 氧气 4.7.0、java 1.8 上收到此错误 JDK 9+ 不支持 clientBuilder.sslSocketFactory 与 Eclipse、maven 相关 ..尝
我正在尝试创建一个非常简单的 Rest 客户端。我在用着:网 bean 8maven项目 依赖项: javax.ws.rs
我正在尝试从 Web 应用程序(eclispe 中的动态 Web 应用程序)使用 Jersey Rest 服务,如下所示: Client client = ClientBuilder.newBuild
假设“postWS”调用“postRespWS”... “postWS”的 GET 方法(非 SpringMVC)利用 JAX-RS“ClientBuilder”发出对“postRespWS”(Spr
我正在为一个 ecomm 站点构建一个 Elasticsearch 驱动的分层导航模块。一切都很好,我可以从外部来源获取选项并显示它们。选择它们也可以,但我遇到了一个问题,其中一个过滤器选项有这些选择
我已经激活了默认的“弹性”用户并为该用户设置了密码。我正在使用 elasticsearch-php 连接和查询我的 elasticsearch。它运行良好,但在激活密码后,我无法使用以前的代码进行连接
项目返回错误错误 500:javax.servlet.ServletException: java.lang.NoClassDefFoundError:com/cloudant/client/api/
这几天我一直在为这个问题苦苦挣扎,但找不到合适的解决方案。我已阅读类似的问题,但所提供的解决方案均不足。 我的规范:Tomcat 9.0.0.M22、Jersey 2.25.1、Maven 4.0.0
这是我第一次收到连接到 https url 的要求。很快,我就知道我需要传递 SSLContext。 我也开始知道我需要在 standalone.xml 中配置才能完成。 任何指向解决方案/链接和工作
我知道这个问题很奇怪。不幸的是,我有一项服务要求所有内容都具有 header ContentType=application/x-www-form-urlencoded,即使正文是 JSON 我正在尝
在我的项目中,我使用的是 java 8,并且在 mu pom.xml 以及我的 eclipse 中配置了相同的配置。但是每当我尝试通过 mvn install 编译我的代码时,它就会抛出以下错误。我也
我是一名优秀的程序员,十分优秀!