myeclipse啟動報錯
關鍵字:
彈出對話方塊:An error has occurred.See the log file…/.log(讓你看日誌)
org.osgi.framework.BundleException: Exception in org.eclipse.core.resources.ResourcesPlugin.start() of bundle org.eclipse.core.resources.
主要的報錯資訊。
myeclipse啟動報錯的情況很多,如果你所看到的與我上面寫的一致,請往下看。
直接刪除.plugins中的所有檔案後重啟。問題是原來的專案需要重新匯入。由於各種各樣的原因,我預計需要花整一天的時間來匯入,這是不可接受的。於是找到了第二種方法。
先把.plugins中的內容備份一下。再把org.eclipse.core.resources 中的.snap,以及其中的.root資料夾中除了.indexes外的檔案刪除。之後重啟。
重啟之後,我這邊的情況是工作空間中的專案都沒了,但是這些專案依然在工作空間內。只需要刷出來就行了。
具體方法是:File->Import->General->Existing Projects info Workspace->Select root dirctory,找到對應專案,然後在projects框中勾選,點下右邊的Refresh,再點選finish就行了。
下面是我的.log中的完整報錯資訊,可以對照一下,如果報錯不一致,不保證上述方法有效。一致了,也不保證…myeclipse這東西真的有點迷。
!ENTRY org.eclipse.osgi 4 0 2018-08-01 16:13:27.329
!MESSAGE An error occurred while automatically activating bundle org.eclipse.core.resources (413).
!STACK 0
org.osgi.framework.BundleException: Exception in org.eclipse.core.resources.ResourcesPlugin.start() of bundle org.eclipse.core.resources.
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.BundleHost.startWorker(BundleHost.java:381)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:300)
at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:440)
at org.eclipse.osgi.internal.loader.BundleLoader.setLazyTrigger(BundleLoader.java:263)
at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:107)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:469)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:216)
at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:395)
at org.eclipse.osgi.internal.loader.SingleSourcePackage.loadClass(SingleSourcePackage.java:35)
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:461)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:412)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:125)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
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)
at org.eclipse.equinox.launcher.Main.main(Main.java:1414)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.genuitec.pulse.eclipse.launcher.Main.main(Main.java:110)
Caused by: org.eclipse.core.internal.resources.ResourceException: Problems reading project tree.
at org.eclipse.core.internal.resources.WorkspaceTreeReader_2.readTree(WorkspaceTreeReader_2.java:125)
at org.eclipse.core.internal.resources.SaveManager.restoreTree(SaveManager.java:1000)
at org.eclipse.core.internal.resources.SaveManager.restore(SaveManager.java:687)
at org.eclipse.core.internal.resources.SaveManager.startup(SaveManager.java:1528)
at org.eclipse.core.internal.resources.Workspace.startup(Workspace.java:2502)
at org.eclipse.core.internal.resources.Workspace.open(Workspace.java:2251)
at org.eclipse.core.resources.ResourcesPlugin.start(ResourcesPlugin.java:439)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:711)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:702)
... 34 more
Caused by: java.io.EOFException
at java.io.DataInputStream.readByte(DataInputStream.java:250)
at org.eclipse.core.internal.dtree.DataTreeReader.readNumber(DataTreeReader.java:130)
at org.eclipse.core.internal.dtree.DataTreeReader.readNode(DataTreeReader.java:87)
at org.eclipse.core.internal.dtree.DataTreeReader.readNode(DataTreeReader.java:103)
at org.eclipse.core.internal.dtree.DataTreeReader.readNode(DataTreeReader.java:103)
at org.eclipse.core.internal.dtree.DataTreeReader.readNode(DataTreeReader.java:103)
at org.eclipse.core.internal.dtree.DataTreeReader.readNode(DataTreeReader.java:103)
at org.eclipse.core.internal.dtree.DataTreeReader.readNode(DataTreeReader.java:103)
at org.eclipse.core.internal.dtree.DataTreeReader.readNode(DataTreeReader.java:103)
at org.eclipse.core.internal.dtree.DataTreeReader.readNode(DataTreeReader.java:103)
at org.eclipse.core.internal.dtree.DataTreeReader.readNode(DataTreeReader.java:103)
at org.eclipse.core.internal.dtree.DataTreeReader.readNode(DataTreeReader.java:103)
at org.eclipse.core.internal.dtree.DataTreeReader.readNode(DataTreeReader.java:103)
at org.eclipse.core.internal.dtree.DataTreeReader.readNode(DataTreeReader.java:103)
at org.eclipse.core.internal.dtree.DataTreeReader.readNode(DataTreeReader.java:103)
at org.eclipse.core.internal.dtree.DataTreeReader.readTree(DataTreeReader.java:147)
at org.eclipse.core.internal.watson.ElementTreeReaderImpl_1.readDelta(ElementTreeReaderImpl_1.java:43)
at org.eclipse.core.internal.watson.ElementTreeReader.readDelta(ElementTreeReader.java:86)
at org.eclipse.core.internal.watson.ElementTreeReaderImpl_1.readDeltaChain(ElementTreeReaderImpl_1.java:88)
at org.eclipse.core.internal.watson.ElementTreeReader.readDeltaChain(ElementTreeReader.java:110)
at org.eclipse.core.internal.resources.WorkspaceTreeReader_1.readTrees(WorkspaceTreeReader_1.java:233)
at org.eclipse.core.internal.resources.WorkspaceTreeReader_2.readTree(WorkspaceTreeReader_2.java:104)
... 43 more
Root exception:
org.eclipse.core.internal.resources.ResourceException(null)[567]: java.io.EOFException
at java.io.DataInputStream.readByte(DataInputStream.java:250)
at org.eclipse.core.internal.dtree.DataTreeReader.readNumber(DataTreeReader.java:130)
at org.eclipse.core.internal.dtree.DataTreeReader.readNode(DataTreeReader.java:87)
at org.eclipse.core.internal.dtree.DataTreeReader.readNode(DataTreeReader.java:103)
at org.eclipse.core.internal.dtree.DataTreeReader.readNode(DataTreeReader.java:103)
at org.eclipse.core.internal.dtree.DataTreeReader.readNode(DataTreeReader.java:103)
at org.eclipse.core.internal.dtree.DataTreeReader.readNode(DataTreeReader.java:103)
at org.eclipse.core.internal.dtree.DataTreeReader.readNode(DataTreeReader.java:103)
at org.eclipse.core.internal.dtree.DataTreeReader.readNode(DataTreeReader.java:103)
at org.eclipse.core.internal.dtree.DataTreeReader.readNode(DataTreeReader.java:103)
at org.eclipse.core.internal.dtree.DataTreeReader.readNode(DataTreeReader.java:103)
at org.eclipse.core.internal.dtree.DataTreeReader.readNode(DataTreeReader.java:103)
at org.eclipse.core.internal.dtree.DataTreeReader.readNode(DataTreeReader.java:103)
at org.eclipse.core.internal.dtree.DataTreeReader.readNode(DataTreeReader.java:103)
at org.eclipse.core.internal.dtree.DataTreeReader.readNode(DataTreeReader.java:103)
at org.eclipse.core.internal.dtree.DataTreeReader.readTree(DataTreeReader.java:147)
at org.eclipse.core.internal.watson.ElementTreeReaderImpl_1.readDelta(ElementTreeReaderImpl_1.java:43)
at org.eclipse.core.internal.watson.ElementTreeReader.readDelta(ElementTreeReader.java:86)
at org.eclipse.core.internal.watson.ElementTreeReaderImpl_1.readDeltaChain(ElementTreeReaderImpl_1.java:88)
at org.eclipse.core.internal.watson.ElementTreeReader.readDeltaChain(ElementTreeReader.java:110)
at org.eclipse.core.internal.resources.WorkspaceTreeReader_1.readTrees(WorkspaceTreeReader_1.java:233)
at org.eclipse.core.internal.resources.WorkspaceTreeReader_2.readTree(WorkspaceTreeReader_2.java:104)
at org.eclipse.core.internal.resources.SaveManager.restoreTree(SaveManager.java:1000)
at org.eclipse.core.internal.resources.SaveManager.restore(SaveManager.java:687)
at org.eclipse.core.internal.resources.SaveManager.startup(SaveManager.java:1528)
at org.eclipse.core.internal.resources.Workspace.startup(Workspace.java:2502)
at org.eclipse.core.internal.resources.Workspace.open(Workspace.java:2251)
at org.eclipse.core.resources.ResourcesPlugin.start(ResourcesPlugin.java:439)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:711)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:702)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:683)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:381)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:300)
at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:440)
at org.eclipse.osgi.internal.loader.BundleLoader.setLazyTrigger(BundleLoader.java:263)
at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:107)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:469)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:216)
at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:395)
at org.eclipse.osgi.internal.loader.SingleSourcePackage.loadClass(SingleSourcePackage.java:35)
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:461)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:412)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:125)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
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)
at org.eclipse.equinox.launcher.Main.main(Main.java:1414)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.genuitec.pulse.eclipse.launcher.Main.main(Main.java:110)
相關文章
- myeclipse去掉js報錯EclipseJS
- mongodb 啟動報錯MongoDB
- php啟動報錯PHP
- myeclipse js檔案報錯EclipseJS
- 本地nacos啟動報錯
- Homestead 啟動 elasticsearch 報錯Elasticsearch
- apache啟動報錯:httpd: aprApachehttpd
- laravel sail 首次啟動報錯LaravelAI
- sqlplus 啟動報錯SQL
- 啟動ASM 例項報錯ASM
- Linux 環境中普通使用者啟動Myeclipse出錯LinuxEclipse
- Mac 上啟動 appium 報錯MacAPP
- mongodb啟動報錯怎麼辦MongoDB
- Centos7啟動Nginx報錯。CentOSNginx
- Apache Hive啟動報NoClassDefFoundError錯誤ApacheHiveError
- zabbix-server啟動報錯解決Server
- nginx 啟動報錯 unknown directive "server"NginxServer
- mysql安裝/啟動報錯彙總MySql
- springboot專案啟動報錯Spring Boot
- DBCA啟動報錯Java.Lang.NoclassdeffounderrorJavaError
- Myeclipse中maven工程使用jetty外掛啟動jetty伺服器除錯EclipseMavenJetty伺服器除錯
- ElasticSearch啟動報錯 ERROR: [4] bootstrap checks failedElasticsearchErrorbootAI
- Xcode啟動RN報錯"`fsevents` unavailable"XCodeAI
- JDeveloper啟動時老是報錯-解決方法Developer
- EBS服務啟動報錯基本處理
- MySQL 啟動服務報錯解決方案MySql
- 解決 Rust WebAssembly 啟動 Web 程式報錯RustWeb
- VMWARE啟動虛機報錯無法開啟檔案
- myeclipse專案報錯終極解決辦法Eclipse
- Redis 啟動報錯Address already in useRedis
- 惡意程式造成資料庫啟動報錯資料庫
- 使用root使用者啟動hadoop報錯Hadoop
- Flink啟動Yarn session模式的部署報錯YarnSession模式
- keepalived啟動報錯解決一例
- lsnrctl啟動報錯,Linux Error: 29: Illegal seekLinuxError
- dubbo啟動報錯,反射例項化問題反射
- tomcat5啟動NotSerializableException報錯解決TomcatException
- CRS啟動報錯Failed 3 to bind listening endpointAI