当前位置: 首页 > 知识库问答 >
问题:

在Windows 32位计算机上加载Eclipse失败

高墨一
2023-03-14

我尝试了Eclipse-Clean的建议,然后清理了工作区并重新加载了最新的eclipse Mars eclipse创建了一个新的工作区,但得到了与我使用旧工作区相同的错误,当我运行64/32位windows系统时一切都很好。重新构建的windows计算机只有32位在这里输入代码现在当我启动Eclipse时,我的日志文件将得到以下内容:

!SESSION 2015-07-31 16:48:17.649 -----------------------------------------------
eclipse.buildId=4.5.0.I20150603-2000
java.version=1.8.0_51
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments:  -product org.eclipse.epp.package.java.product
Command-line arguments:  -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.java.product

!ENTRY org.eclipse.e4.ui.workbench 4 0 2015-07-31 16:48:22.360
!MESSAGE Unable to load resource platform:/plugin/org.eclipse.platform/LegacyIDE.e4xmi
!STACK 0
org.eclipse.emf.ecore.resource.impl.ResourceSetImpl$1DiagnosticWrappedException: org.eclipse.emf.ecore.xmi.XMIException: org.xml.sax.SAXParseExceptionpublicId: platform:/plugin/org.eclipse.platform/LegacyIDE.e4xmi; systemId: platform:/plugin/org.eclipse.platform/LegacyIDE.e4xmi; lineNumber: 2; Undeclared prefix: "xmi:version". (platform:/plugin/org.eclipse.platform/LegacyIDE.e4xmi, 2, -1)
    at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.handleDemandLoadException(ResourceSetImpl.java:319)
    at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoadHelper(ResourceSetImpl.java:278)
    at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getResource(ResourceSetImpl.java:406)
    at org.eclipse.e4.ui.internal.workbench.ResourceHandler.getResource(ResourceHandler.java:351)
    at org.eclipse.e4.ui.internal.workbench.ResourceHandler.loadResource(ResourceHandler.java:327)
    at org.eclipse.e4.ui.internal.workbench.ResourceHandler.loadMostRecentModel(ResourceHandler.java:243)
    at org.eclipse.e4.ui.internal.workbench.swt.E4Application.loadApplicationModel(E4Application.java:397)
    at org.eclipse.e4.ui.internal.workbench.swt.E4Application.createE4Workbench(E4Application.java:254)
    at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:620)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:598)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:139)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
    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:669)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:608)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1515)
Caused by: org.eclipse.emf.ecore.xmi.XMIException: org.xml.sax.SAXParseExceptionpublicId: platform:/plugin/org.eclipse.platform/LegacyIDE.e4xmi; systemId: platform:/plugin/org.eclipse.platform/LegacyIDE.e4xmi; lineNumber: 2; Undeclared prefix: "xmi:version". (platform:/plugin/org.eclipse.platform/LegacyIDE.e4xmi, 2, -1)
    at org.eclipse.emf.ecore.xmi.impl.XMLHandler.toXMIException(XMLHandler.java:682)
    at org.eclipse.emf.ecore.xmi.impl.XMLHandler.error(XMLHandler.java:699)
    at org.apache.crimson.parser.Parser2.error(Parser2.java:3018)
    at org.apache.crimson.parser.Parser2.processName(Parser2.java:1581)
    at org.apache.crimson.parser.Parser2.processAttributeNS(Parser2.java:1553)
    at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1410)
    at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:499)
    at org.apache.crimson.parser.Parser2.parse(Parser2.java:304)
    at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:433)
    at javax.xml.parsers.SAXParser.parse(Unknown Source)
    at org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl.load(XMLLoadImpl.java:175)
    at org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl.doLoad(XMLResourceImpl.java:261)
    at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:1518)
    at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:1297)
    at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoad(ResourceSetImpl.java:259)
    at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoadHelper(ResourceSetImpl.java:274)
    ... 23 more
Caused by: org.xml.sax.SAXParseExceptionpublicId: platform:/plugin/org.eclipse.platform/LegacyIDE.e4xmi; systemId: platform:/plugin/org.eclipse.platform/LegacyIDE.e4xmi; lineNumber: 2; Undeclared prefix: "xmi:version".
    at org.apache.crimson.parser.Parser2.error(Parser2.java:3013)
    ... 36 more

!ENTRY org.eclipse.osgi 4 0 2015-07-31 16:48:22.376
!MESSAGE Application error
!STACK 1
java.lang.NullPointerException
    at org.eclipse.e4.ui.internal.workbench.ResourceHandler.loadMostRecentModel(ResourceHandler.java:244)
    at org.eclipse.e4.ui.internal.workbench.swt.E4Application.loadApplicationModel(E4Application.java:397)
    at org.eclipse.e4.ui.internal.workbench.swt.E4Application.createE4Workbench(E4Application.java:254)
    at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:620)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:598)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:139)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
    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:669)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:608)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1515)

共有1个答案

柳向明
2023-03-14

尝试删除.metadata文件夹,它不会对您的项目产生影响。

谢谢

 类似资料:
  • 问题内容: 因此,标题中的问题是,我需要在32位Windows XP的系统上的Tomcat中运行我的服务器应用程序,我正在Eclipse的64位Windows 7上工作和编译。如何将其编译为32位,我需要做什么?我假设在64位计算机上编译它时,它不能在32位Windows上运行? 问题答案: Java不会构建32位或64位应用程序-字节码可在不同的位体系结构之间移植。 唯一的例外是您可能在代码中使

  • 问题内容: 我想知道x86和x64中的64位长吗? 问题答案: 是。Java 在任何JVM上都是64位,无一例外。所有Java原语类型都是完全可移植的,并且在所有实现中都具有固定的大小。

  • 我有个奇怪的MSI!!!

  • 问题内容: 是否可以在64位linux机器上使用Android SDK进行开发。可用的SDK下载似乎仅适用于32位版本的Linux。 问题答案: 是的。您需要安装ia32库。请查看Ubuntu Linux故障排除部分 。

  • 为了使用SharePoint对象模型,我在安装在32位计算机和32位操作系统上的Windows服务中使用SharePoint 64位 dll。 64位dll可能在32位计算机上工作吗? 在什么情况下我们会面临“64位dll在32位机器上无法工作”的问题? 如果我想在64位和32位计算机上安装相同的解决方案,该怎么办?我不想每次都更改目标平台。 更新: 经过研发,我发现“32位解决方案可以安装在64

  • 我有一个新安装的Debian Wheezy服务器,运行Jenkins1.596(最新版本),从官方的deb包安装。 为了和Jenkins一起玩,我编写了一个新的Maven项目,该项目可以通过Git进行验证。 下面是Jenkins服务器在构建期间生成的日志: 我尝试用JDK7和JDK8构建都失败了。