2010-09-03 79 views
2

我有發生 警報爲錯誤時打開日食... 該日誌文件包含以下錯誤...蝕問題

!SESSION 2010-09-03 11:59:03.157 ----------------------------------------------- 
eclipse.buildId=I20090611-1540 
java.version=1.6.0_11 
java.vendor=Sun Microsystems Inc. 
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US 
Framework arguments: -product org.eclipse.epp.package.jee.product 
Command-line arguments: -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.jee.product 

!ENTRY org.eclipse.equinox.p2.reconciler.dropins 4 0 2010-09-03 11:59:05.171 
!MESSAGE 
!STACK 0 
org.osgi.framework.BundleException: The bundle could not be resolved. Reason: Missing Constraint: Import-Package: org.eclipse.equinox.internal.provisional.p2.director; version="0.0.0" 
    at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolverError(AbstractBundle.java:1313) 
    at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolutionFailureException(AbstractBundle.java:1297) 
    at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:309) 
    at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:370) 
    at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1068) 
    at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:557) 
    at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:464) 
    at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:248) 
    at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:445) 
    at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:220) 
    at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:330) 

!ENTRY org.eclipse.osgi 4 0 2010-09-03 11:59:05.265 
!MESSAGE Application error 
!STACK 1 
java.lang.RuntimeException: Application "org.eclipse.ui.ide.workbench" could not be found in the registry. The applications available are: org.eclipse.ant.core.antRunner, org.eclipse.equinox.app.error, org.eclipse.help.base.infocenterApplication, org.eclipse.help.base.helpApplication, org.eclipse.help.base.indexTool, org.eclipse.update.core.standaloneUpdate, org.eclipse.update.core.siteOptimizer, org.eclipse.wst.server.preview.preview, org.eclipse.emf.codegen.CodeGen, org.eclipse.emf.codegen.JMerger, org.eclipse.emf.codegen.ecore.Generator, org.eclipse.emf.importer.rose.Rose2GenModel, org.eclipse.emf.importer.java.Java2GenModel, org.eclipse.emf.importer.ecore.Ecore2GenModel, org.eclipse.datatools.connectivity.console.profile.StorageFileEditor, org.eclipse.jdt.apt.core.aptBuild, org.eclipse.equinox.p2.reconciler.application, org.eclipse.equinox.p2.metadata.repository.mirrorApplication, org.eclipse.equinox.p2.artifact.repository.mirrorApplication, org.eclipse.equinox.p2.publisher.InstallPublisher, org.eclipse.equinox.p2.publisher.ProductPublisher, org.eclipse.equinox.p2.publisher.FeaturesAndBundlesPublisher, org.eclipse.equinox.p2.updatesite.UpdateSitePublisher, org.eclipse.equinox.p2.publisher.UpdateSitePublisher, org.eclipse.equinox.p2.publisher.CategoryPublisher, org.eclipse.equinox.p2.metadata.generator.EclipseGenerator, org.eclipse.equinox.p2.garbagecollector.application, org.eclipse.pde.junit.runtime.uitestapplication, org.eclipse.pde.junit.runtime.legacytestapplication, org.eclipse.pde.junit.runtime.coretestapplication, org.eclipse.pde.junit.runtime.coretestapplicationnonmain, org.eclipse.pde.junit.runtime.nonuithreadtestapplication, org.eclipse.pde.build.Build, org.eclipse.jdt.core.JavaCodeFormatter, org.eclipse.wst.jsdt.core.JavaCodeFormatter. 
    at org.eclipse.equinox.internal.app.EclipseAppContainer.startDefaultApp(EclipseAppContainer.java:242) 
    at org.eclipse.equinox.internal.app.MainApplicationLauncher.run(MainApplicationLauncher.java:29) 
    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:368) 
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) 
    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:559) 
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514) 
    at org.eclipse.equinox.launcher.Main.run(Main.java:1311) 

!ENTRY org.eclipse.osgi 2 0 2010-09-03 11:59:05.811 
!MESSAGE One or more bundles are not resolved because the following root constraints are not resolved: 
!SUBENTRY 1 org.eclipse.osgi 2 0 2010-09-03 11:59:05.811 
!MESSAGE Bundle reference:file:plugins/org.eclipse.wst.server.http.ui_1.0.200.v20090113.jar was not resolved. 
!SUBENTRY 2 org.eclipse.wst.server.http.ui 2 0 2010-09-03 11:59:05.811 
!MESSAGE Missing required bundle org.eclipse.ui.forms_[3.2.0,4.0.0). 
!SUBENTRY 1 org.eclipse.osgi 2 0 2010-09-03 11:59:05.811 
!MESSAGE Bundle reference:file:plugins/org.eclipse.jst.j2ee.ejb.annotations.ui_1.1.102.v200805140020.jar was not resolved. 
!SUBENTRY 2 org.eclipse.jst.j2ee.ejb.annotations.ui 2 0 2010-09-03 11:59:05.811 
!MESSAGE Missing required bundle org.eclipse.jface.text_[3.2.0,4.0.0). 
!SUBENTRY 1 org.eclipse.osgi 2 0 2010-09-03 11:59:05.811 
!MESSAGE Bundle reference:file:plugins/org.eclipse.wst.xml.ui_1.1.2.v201001222130.jar was not resolved. 
!SUBENTRY 2 org.eclipse.wst.xml.ui 2 0 2010-09-03 11:59:05.811 
!MESSAGE Missing required bundle org.eclipse.jface.text_[3.4.0,4.0.0). 
!SUBENTRY 1 org.eclipse.osgi 2 0 2010-09-03 11:59:05.811 
!MESSAGE Bundle reference:file:plugins/org.eclipse.mylyn.tasks.search_3.4.0.v20100608-0100-e3x.jar was not resolved. 
!SUBENTRY 2 org.eclipse.mylyn.tasks.search 2 0 2010-09-03 11:59:05.811 
!MESSAGE Missing required bundle org.eclipse.jface.text_0.0.0. 
!SUBENTRY 2 org.eclipse.mylyn.tasks.search 2 0 2010-09-03 11:59:05.811 
!MESSAGE Missing required bundle org.eclipse.ui.forms_0.0.0. 
!SUBENTRY 1 org.eclipse.osgi 2 0 2010-09-03 11:59:05.811 
!MESSAGE Bundle reference:file:plugins/org.eclipse.datatools.sqltools.db.generic_1.0.0.v200906020900.jar was not resolved. 
!SUBENTRY 2 org.eclipse.datatools.sqltools.db.generic 2 0 2010-09-03 11:59:05.811 
!MESSAGE Missing required bundle org.eclipse.jface.text_[3.2.0,4.0.0). 
!SUBENTRY 1 org.eclipse.osgi 2 0 2010-09-03 11:59:05.811 
!MESSAGE Bundle reference:file:plugins/org.eclipse.wst.xsl.debug.ui_1.0.0.v200904240436.jar was not resolved. 
!SUBENTRY 2 org.eclipse.wst.xsl.debug.ui 2 0 2010-09-03 11:59:05.811 
!MESSAGE Missing required bundle org.eclipse.jface.text_[3.4.0,4.0.0). 
!SUBENTRY 1 org.eclipse.osgi 2 0 2010-09-03 11:59:05.811 
!MESSAGE Bundle reference:file:plugins/org.eclipse.jst.server.ui_1.1.0.v20090421.jar was not resolved. 
!SUBENTRY 2 org.eclipse.jst.server.ui 2 0 2010-09-03 11:59:05.811 
!MESSAGE Missing required bundle org.eclipse.jface.text_[3.2.0,4.0.0). 
!SUBENTRY 1 org.eclipse.osgi 2 0 2010-09-03 11:59:05.811 

alt text

+0

什麼是警報的消息? – pavanlimo 2010-09-03 06:53:21

+0

看到我已經上傳的圖片 – Kandha 2010-09-03 07:00:32

+0

你做了什麼,實現這一目標?這是全新的安裝還是您做了一些配置,升級,補丁......?請具體! – vlood 2010-09-03 08:09:18

回答

0

我只想重新下載。它不需要很長時間,你可以得到一個更新的版本,這可能有助於避免將來出現類似的情況。

+0

我做到了這一點...但我想知道這個錯誤的原因,我們如何解決這個問題... – Kandha 2010-09-03 07:07:00

1

似乎它缺少org.eclipse.jface.text插件。應該在任何Eclipse安裝中。現在確定爲什麼不存在,但如果仔細閱讀日誌,則會看到這個依賴關係序列,並指出缺少哪些捆綁包。沒有其他依賴的東西就是不存在的。

1

在你的PATH/JAVA_HOME環境變量中檢查JDK - 在我的情況下,對於eclipse來說太舊了。我更新了這些變量以指向新的JDK,問題消失了。

0

爲我所解決的問題,這

控制面板 - >高級系統設置 - >環境變量 - >

現在你要做的兩兩件事:

1 - 創建一個新的變量

變量名= JAVA_HOME

變量值= C:\ Program Files文件\的Java \ jdk1.7.0_01

2 Edite的路徑變量,並在該末尾添加此;%JAVA_HOME%\ bin中