Cannot create “Spring Starter Project” with STS 3.9.4

为君一笑 提交于 2019-12-13 20:38:10

问题


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


回答1:


I tried the following approaches:

  • 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.

  • 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.

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

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.

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



来源:https://stackoverflow.com/questions/52012649/cannot-create-spring-starter-project-with-sts-3-9-4

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