【问题标题】:Error while using Spring STS Starter Wizard使用 Spring STS Starter Wizard 时出错
【发布时间】:2016-05-15 18:41:39
【问题描述】:

我创建了很多 Spring Boot 应用程序,我喜欢使用 Spring STS 启动向导来帮助我,但是今天我突然开始看到每次尝试打开“Spring Starter Wizard”时都会弹出一个错误窗口.

STS 版本:3.7.2

这是弹出窗口中的错误。

这是我在日志中看到的错误。

java.lang.Error: java.io.FileNotFoundException: http://start.spring.io
12129         at org.springframework.ide.eclipse.wizard.gettingstarted.boot.NewSpringBootWizard.init(NewSpringBootWizard.java:75)
12130         at org.eclipse.ui.internal.actions.NewWizardShortcutAction.run(NewWizardShortcutAction.java:119)
12131         at org.eclipse.jface.action.Action.runWithEvent(Action.java:473)
12132         at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:595)
12133         at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:511)
12134         at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:420)
12135         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
12136         at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4230)
12137         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1491)
12138         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1514)
12139         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1499)
12140         at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1299)
12141         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4072)
12142         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3698)
12143         at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1127)
12144         at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
12145         at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1018)
12146         at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:156)
12147         at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:654)
12148         at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
12149         at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:598)
12150         at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
12151         at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:139)
12152         at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
12153         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
12154         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
12155         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
12156         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
12157         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
12158         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
12159         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
12160         at java.lang.reflect.Method.invoke(Method.java:483)
12161         at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:669)
12162         at org.eclipse.equinox.launcher.Main.basicRun(Main.java:608)
12163         at org.eclipse.equinox.launcher.Main.run(Main.java:1515)

我尝试通过浏览器访问http://start.spring.io/sts 并收到此消息。

404 Not Found:请求的路由('start.spring.io')不存在。

【问题讨论】:

    标签: eclipse spring-boot spring-tool-suite


    【解决方案1】:

    您必须在STS中更改网络设置。

    选择窗口选项卡 -> 首选项 -> 常规 -> 网络连接和 更改设置。

    将 Active Provider 设置为手动,然后在代理条目中编辑主机和端口详细信息。应用设置并单击确定。

    这对我有用。希望它对你有用。

    谢谢

    【讨论】:

      【解决方案2】:

      此问题现已解决。 http://start.spring.io/sts 似乎有一些问题。现在恢复了。

      【讨论】:

      • 确实,昨天停电了,抱歉。顺便说一句,STS 3.7 不使用/sts。只有第一个版本支持该向导。
      猜你喜欢
      • 2019-10-21
      • 2020-11-19
      • 1970-01-01
      • 2012-11-05
      • 2014-06-27
      • 1970-01-01
      • 1970-01-01
      • 2023-03-08
      • 1970-01-01
      相关资源
      最近更新 更多