eclipse Spring Tool Suite 创建新的spring starter 项目报错

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/43405699/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-19 23:24:56  来源:igfitidea点击:

Spring Tool Suite create new spring starter project error

eclipsespring-boot

提问by Dutt ubuntu

I am using spring tool suite version 3.8.3. While trying to create a new spring starter project, I am getting an error.. UnknownHostException : start.spring.io. But I can create maven project and adding spring boot is working. Can any one help to get a solution. start.spring.io is reachable from my browser.

我正在使用 spring 工具套件 3.8.3 版。在尝试创建一个新的 spring 启动项目时,我收到一个错误.. UnknownHostException : start.spring.io。但是我可以创建 maven 项目并且添加 spring boot 正在工作。任何人都可以帮助获得解决方案。start.spring.io 可从我的浏览器访问。

回答by Ralf Stuckert

Are you using a proxy? So you have to configure that in your STS settings: Open the menu windows/prefrencesand enter proxyand check your settings. If it works in your browser, try the nativesettings. (The proxy for maven is defined in the settings.xml, that's why this may work anyway)

您是否使用了代理?因此,您必须在 STS 设置中进行配置:打开菜单windows/prefrences并输入proxy并检查您的设置。如果它在您的浏览器中工作,请尝试native设置。(maven 的代理在 settings.xml 中定义,这就是为什么这无论如何都可以工作)

回答by Yogesh Ukale

For my case in STS this "https://start.spring.io/" was by default. but when i connected to Internetand trying to remove this using backspace and again typed same then its working.

对于我在 STS中的情况,默认情况下是“ https://start.spring.io/”。但是当我连接到 Internet并尝试使用退格键删除它并再次输入相同的内容时,它就可以工作了。

回答by Manish Agrawal

Open the 'Windows/Preference" then goto "General -> Network Connections" Now add Host in "Proxy bypass" panel as "https://start.spring.io/".

打开“Windows/Preference”然后转到“General -> Network Connections” 现在在“Proxy bypass”面板中添加 Host 为“ https://start.spring.io/”。

回答by Saurabh Verma

Just turn back on the automatic update of Spring tool suit. It will fix the problem.

只需重新开启Spring工具套装的自动更新即可。它将解决问题。

回答by Venkata Naga Ganesh Murukuntla

The default url loaded is "http://start.spring.io/", when I changed this to "https://start.spring.io/" it stared working for me.

加载的默认 url 是“ http://start.spring.io/”,当我将其更改为“ https://start.spring.io/”时,它开始对我来说有效。