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)
相關文章
- Homestead 啟動 elasticsearch 報錯Elasticsearch
- 本地nacos啟動報錯
- Mac 上啟動 appium 報錯MacAPP
- apache啟動報錯:httpd: aprApachehttpd
- 解決啟動openfeign報錯
- laravel sail 首次啟動報錯LaravelAI
- Centos7啟動Nginx報錯。CentOSNginx
- Redis 啟動報錯Address already in useRedis
- nginx 啟動報錯 unknown directive "server"NginxServer
- Xcode啟動RN報錯"`fsevents` unavailable"XCodeAI
- mongodb啟動報錯怎麼辦MongoDB
- zabbix-server啟動報錯解決Server
- sshd啟動報錯Could not load host key
- 測試類啟動報錯缺失servletWebServerApplicationContextServletWebServerAPPContext
- keepalived啟動報錯解決一例
- MySQL 啟動報錯 error while loading shared librariesMySqlErrorWhile
- 解決 Rust WebAssembly 啟動 Web 程式報錯RustWeb
- 使用root使用者啟動hadoop報錯Hadoop
- Flink啟動Yarn session模式的部署報錯YarnSession模式
- ElasticSearch啟動報錯 ERROR: [4] bootstrap checks failedElasticsearchErrorbootAI
- myeclipse執行tomcat報錯Exception in thread "main" java.lang.OutOfMemoryError: PermGen space...EclipseTomcatExceptionthreadAIJavaError
- Feign整合Sentinel 開啟 feign.sentinel.enabled=true 啟動報錯
- 11.2.0.1.0 RAC啟動使用root使用者啟動crs報錯CRS-4535
- tomcat-啟動報錯Multiple Contexts have a path of "/xxxx"TomcatContext
- 啟動uwsgi報錯ImportError: No module named, unable to load appImportErrorAPP
- innodb_undo_tablespaces導致Mysql啟動報錯MySql
- idea專案啟動報錯:java.lang.OutOfMemoryErrorIdeaJavaError
- 惡意程式造成資料庫啟動報錯資料庫
- 啟動IDEA 報 failed to load jvm dll XXX 錯誤IdeaAIJVM
- Vue 啟動專案報錯 Failed to compile with 2 errorsVueAICompileError
- MySQL啟動報錯:The server quit without updating PID fileMySqlServerUI
- Springboot專案啟動後訪問Controller報錯404Spring BootController
- Idea啟動專案報{dataSource-1} closed錯誤Idea
- 啟動報錯:Access denied for user 'root'@'localhost' (using password:YES)localhost
- Tomcat啟動報錯:Error starting static Resources解決方法TomcatError
- tomcat啟動報錯java.util.zip.ZipException:invalidCENheader(badsignature)TomcatJavaExceptionHeader
- Windows下hadoop環境搭建之NameNode啟動報錯WindowsHadoop
- 解決MMM啟動監控報錯的問題