2012-06-09 97 views
2

我已經安裝了SpringSource Tool Suite(STS)版本3.我創建了兩個Maven項目:一個控制檯應用程序和一個Web Maven應用程序。我試圖在Eclipse中打開Main.java,但沒有成功。 我試圖重啓STS,但收到此錯誤:如何清除SpringSource Tool Suite緩存?

!SESSION 2012-06-09 09:13:29.626 ----------------------------------------------- 
eclipse.buildId=3.0.0.201205010613-M1-e42 
java.version=1.7.0_04 
java.vendor=Oracle Corporation 
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US 
Framework arguments: -product com.springsource.sts.ide 
Command-line arguments: -os win32 -ws win32 -arch x86 -product com.springsource.sts.ide 

!ENTRY org.eclipse.osgi 4 0 2012-06-09 09:13:30.552 
!MESSAGE FrameworkEvent ERROR 
!STACK 0 
org.osgi.framework.BundleException: Exception in org.eclipse.osgi.framework.internal.core.SystemBundleActivator.start() of bundle org.eclipse.osgi. 
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:734) 
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:683) 
    at org.eclipse.osgi.framework.internal.core.InternalSystemBundle.resume(InternalSystemBundle.java:225) 
    at org.eclipse.osgi.framework.internal.core.Framework.launch(Framework.java:657) 
    at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:274) 
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176) 
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) 
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 
    at java.lang.reflect.Method.invoke(Unknown Source) 
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629) 
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584) 
    at org.eclipse.equinox.launcher.Main.run(Main.java:1438) 
Caused by: java.lang.IllegalStateException: Expected to find an object at table index: 1008 

我想,我需要清除一些緩存。那是對的嗎?它在哪裏?

+0

你有沒有找到解決辦法? – JohnIdol

回答

1

編輯文件 「ECLIPSE_HOME \配置\ config.ini文件」 變化

osgi.bundles=reference\:file\:[email protected],reference\:file\:[email protected]\:start 

osgi.bundles=reference\:file\:[email protected]\:start 

更多細節可以發現here ..

+0

對不起,但沒有幫助 – user710818

+0

我認爲你的問題可能是相同的。 我會再次看看堆棧並嘗試解決。 :) –

+0

可以請你發佈你的config.ini –

相關問題