Eclipse Mars2安装插件时出错

时间:2018-07-10 07:32:59

标签: eclipse

我正在使用Eclipse Mars2。我为一个新项目创建了一个新的工作区,然后尝试通过导航到“帮助”->“ Eclipse Marketplace”来添加一些插件。 在单击“安装”时选择了插件后,它给了我如下所示的错误:

  

org.eclipse.equinox.p2.core   错误   IST 2018年7月10日12:43:12   无法读取文件位于以下位置的存储库:/ C:/Work/Softwares/eclipse-jee-mars-2-win32-x86_64/eclipse/p2/org.eclipse.equinox.p2.repository/cache/compositeContent-1138971826.xml      

com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException:1字节UTF-8序列的无效字节1。       在com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.invalidByte(UTF8Reader.java:701)       在com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.read(UTF8Reader.java:567)       在com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.load(XMLEntityScanner.java:1895)       在com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.arrangeCapacity(XMLEntityScanner.java:1761)       在com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.skipString(XMLEntityScanner.java:1799)       在com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocVersion(XMLVersionDetector.java:156)       在com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:806)       在com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:771)       在com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)       在com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213)       在com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl $ JAXPSAXParser.parse(SAXParserImpl.java:643)       在org.eclipse.equinox.internal.p2.persistence.CompositeParser.parse(CompositeParser.java:186)       在org.eclipse.equinox.internal.p2.persistence.CompositeRepositoryIO.read(CompositeRepositoryIO.java:64)       在org.eclipse.equinox.internal.p2.metadata.repository.CompositeMetadataRepositoryFactory.load(CompositeMetadataRepositoryFactory.java:118)       在org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.factoryLoad(MetadataRepositoryManager.java:57)       在org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:768)       在sun.reflect.NativeMethodAccessorImpl.invoke0(本机方法)处       在sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)       在sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)       在java.lang.reflect.Method.invoke(Method.java:498)       在org.eclipse.oomph.util.ReflectUtil.invokeMethod(ReflectUtil.java:116)       在org.eclipse.oomph.p2.internal.core.CachingRepositoryManager.loadRepository(CachingRepositoryManager.java:339)       在org.eclipse.oomph.p2.internal.core.CachingRepositoryManager.loadRepository(CachingRepositoryManager.java:146)       在org.eclipse.oomph.p2.internal.core.CachingRepositoryManager $ Metadata.loadRepository(CachingRepositoryManager.java:389)       在org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:96)       在org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:92)       在org.eclipse.epp.internal.mpc.ui.operations.AbstractProvisioningOperation.addRepositories(AbstractProvisioningOperation.java:92)       在org.eclipse.epp.internal.mpc.ui.operations.ProfileChangeOperationComputer.computeInstallableUnits(ProfileChangeOperationComputer.java:385)       在org.eclipse.epp.internal.mpc.ui.operations.ProfileChangeOperationComputer.run(ProfileChangeOperationComputer.java:165)       在org.eclipse.jface.operation.ModalContext $ ModalContextThread.run(ModalContext.java:119)

     

Image

0 个答案:

没有答案