无法创建“Spring Starter Project"使用 STS 3.9.4 [英] Cannot create "Spring Starter Project" with STS 3.9.4

查看:76
本文介绍了无法创建“Spring Starter Project"使用 STS 3.9.4的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我无法使用 STS 3.9.4 创建 Spring Starter 项目.我看到以下错误.

I am unable to create a Spring Starter Project with STS 3.9.4. I see the following error.

推荐答案

我尝试了以下方法:

  • 我查看了 STS 中的代理设置并将Active Provider"设置为手动.帮助 -> 仪表板成功呈现,这意味着它能够通过代理进行隧道传输,但 spring-starter-project 仍然失败.

  • I looked at proxy settings in STS and set the "Active Provider" to manual. The help -> dashboard successfully rendered implying that it was able to tunnel through the proxy but the spring-starter-project was still failing.

我清除了本地密码存储,但仍然遇到同样的问题.

I cleared the local password storage but still ran into the same issue.

我尝试了Active Provider"的各种设置,Spring Starter Project 的错误各不相同,这意味着它肯定使用了 STS 中的代理设置,但由于某种原因失败了.

I tried various settings of the "Active Provider" and the errors for the Spring Starter Project varied implying that it was definitely using the proxy settings in STS but was failing for some reason.

经过一番挖掘,我在 Java SE 发行说明中发现了这一点:禁用 HTTPS 隧道的基本身份验证

After some digging I found this in Java SE release notes: Disable Basic authentication for HTTPS tunneling

我立刻意识到我前几天升级了JDK的版本.我相信在升级之前我有 Java SE 8 u45.我已将其升级到 Java SE 8 u111,但上述更改导致了该问题.

I realized immediately that I had upgraded the version of JDK a few days ago. I believe I had Java SE 8 u45 prior to the upgrade. I had upgraded it to Java SE 8 u111 and the above change was causing the issue.

我在 STS.ini 中添加了以下行并解决了问题.-Djdk.http.auth.tunneling.disabledSchemes=""

I added the following line in STS.ini and it solved the problem. -Djdk.http.auth.tunneling.disabledSchemes=""

这篇关于无法创建“Spring Starter Project"使用 STS 3.9.4的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆