无法打开STS IDE

时间:2017-05-14 15:39:57

标签: spring-boot spring-tool-suite

我不知道我的系统现在发生了什么,一旦我重新启动我的Windows笔记本电脑然后我无法打开STS而不是。

显示错误 -

enter image description here

以上日志包含以下内容:

  
    

!会话2017-05-14 21:00:11.181 ----------------------------------- ------------ eclipse.buildId = 3.8.1.201607290850-RELEASE-e46 java.version = 1.8.0_131     java.vendor = Oracle Corporation BootLoader常量:OS = win32,     ARCH = x86_64,WS = win32,NL = en_US框架参数:-product     org.springsource.sts.ide命令行参数:-os win32 -ws win32     -arch x86_64 -product org.springsource.sts.ide

  
     

!ENTRY org.eclipse.osgi 4 0 2017-05-14 21:00:14.019!MESSAGE   应用程序错误!STACK 1 java.lang.ArrayIndexOutOfBoundsException     在java.lang.System.arraycopy(Native Method)at   java.util.Arrays.copyOfRange(未知来源)at   java.util.Arrays.copyOfRange(未知来源)at   org.eclipse.ui.internal.ide.ChooseWorkspaceDialog.lambda $ 7(ChooseWorkspaceDialog.java:380)     在java.util.stream.ReferencePipeline $ 3 $ 1.accept(未知来源)at   java.util.ArrayList中的$ ArrayListSpliterator.forEachRemaining(未知   来自java.util.stream.AbstractPipeline.copyInto(未知来源)     at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)     在java.util.stream.ReduceOps $ ReduceOp.evaluateSequential(未知   来自java.util.stream.AbstractPipeline.evaluate(未知来源)     在java.util.stream.ReferencePipeline.collect(未知来源)at   org.eclipse.ui.internal.ide.ChooseWorkspaceDialog.createUniqueWorkspaceNameMap(ChooseWorkspaceDialog.java:382)     在   org.eclipse.ui.internal.ide.ChooseWorkspaceDialog.createRecentWorkspacesComposite(ChooseWorkspaceDialog.java:325)     在   org.eclipse.ui.internal.ide.ChooseWorkspaceDialog.createDialogArea(ChooseWorkspaceDialog.java:176)     在   org.eclipse.jface.dialogs.TitleAreaDialog.createContents(TitleAreaDialog.java:158)     在org.eclipse.jface.window.Window.create(Window.java:426)at   org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1095)at   org.eclipse.jface.window.Window.open(Window.java:783)at   org.eclipse.ui.internal.ide.ChooseWorkspaceDialog.prompt(ChooseWorkspaceDialog.java:114)     在   org.eclipse.ui.internal.ide.application.IDEApplication.promptForWorkspace(IDEApplication.java:342)     在   org.eclipse.ui.internal.ide.application.IDEApplication.checkInstanceLocation(IDEApplication.java:261)     在   org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:128)     在   org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)     在   org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)     在   org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)     在   org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)     在   org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)at   sun.reflect.NativeMethodAccessorImpl.invoke(未知来源)at   sun.reflect.DelegatingMethodAccessorImpl.invoke(未知来源)at   java.lang.reflect.Method.invoke(未知来源)at   org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:673)at at   org.eclipse.equinox.launcher.Main.basicRun(Main.java:610)at at   org.eclipse.equinox.launcher.Main.run(Main.java:1519)

现在不确定ArrayIndecOutoFBound异常即将发生的地方,我用Google搜索了同样但没有解决我的问题。

1 个答案:

答案 0 :(得分:0)

只需在STS安装配置目录中找到以下文件并将其删除即可 -

/configuration/.settings/org.eclipse.ui.ide.prefs Blockquote

请注意,现在你们不会像之前那样得到之前的工作区建议,因为我们刚从STS删除了一个设置文件。 希望这会有所帮助。