Spring Tool Suite 创建新的spring starter 项目报错 [英] Spring Tool Suite create new spring starter project error

查看:66
本文介绍了Spring Tool Suite 创建新的spring starter 项目报错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

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.

推荐答案

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

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

这篇关于Spring Tool Suite 创建新的spring starter 项目报错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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