mikrocontroller.net

Forum: PC Hard- und Software eclipse install Fehlermeldung


Announcement: there is an English version of this forum on EmbDev.net. Posts you create there will be displayed on Mikrocontroller.net and EmbDev.net.
von R. F. (rfr)


Bewertung
0 lesenswert
nicht lesenswert
Hallo,

die folgende Fehlermeldung erheischte mich während der Installation:
------------------------------------------------------------
!SESSION 2019-11-28 19:02:12.739 
-----------------------------------------------
eclipse.buildId=unknown
java.version=11.0.3
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Command-line arguments:  -os linux -ws gtk -arch x86_64

!ENTRY org.eclipse.osgi 4 0 2019-11-28 19:02:20.963
!MESSAGE Application error
!STACK 1
org.eclipse.e4.core.di.InjectionException: 
java.lang.NoClassDefFoundError: javax/annotation/PostConstruct
  at 
org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.j 
ava:410)
  at 
org.eclipse.e4.core.internal.di.InjectorImpl.make(InjectorImpl.java:318)
  at 
org.eclipse.e4.core.contexts.ContextInjectionFactory.make(ContextInjecti 
onFactory.java:162)
  at 
org.eclipse.e4.ui.internal.workbench.swt.E4Application.createDefaultHead 
lessContext(E4Application.java:491)
  at 
org.eclipse.e4.ui.internal.workbench.swt.E4Application.createDefaultCont 
ext(E4Application.java:505)
  at 
org.eclipse.e4.ui.internal.workbench.swt.E4Application.createE4Workbench 
(E4Application.java:204)
  at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:614)
  at 
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java: 
336)
  at 
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:5 
94)
  at 
org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
  at 
org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplicat 
ion.java:151)
  at 
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.j 
ava:196)
  at 
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplicat 
ion(EclipseAppLauncher.java:134)
  at 
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(Eclip 
seAppLauncher.java:104)
  at 
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java: 
388)
  at 
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java: 
243)
  at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native 
Method)
  at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMet 
hodAccessorImpl.java:62)
  at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Deleg 
atingMethodAccessorImpl.java:43)
  at java.base/java.lang.reflect.Method.invoke(Method.java:566)
  at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:653)
  at org.eclipse.equinox.launcher.Main.basicRun(Main.java:590)
  at org.eclipse.equinox.launcher.Main.run(Main.java:1499)
  at org.eclipse.equinox.launcher.Main.main(Main.java:1472)
Caused by: java.lang.NoClassDefFoundError: 
javax/annotation/PostConstruct
  at 
org.eclipse.e4.core.internal.di.InjectorImpl.inject(InjectorImpl.java:12 
4)
  at 
org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.j 
ava:399)
  ... 23 more
Caused by: java.lang.ClassNotFoundException: 
javax.annotation.PostConstruct cannot be found by 
org.eclipse.e4.core.di_1.6.100.v20170421-1418
  at 
org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLo 
ader.java:433)
  at 
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.jav 
a:395)
  at 
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.jav 
a:387)
  at 
org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClass 
Loader.java:150)
  at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
  ... 25 more

!ENTRY org.eclipse.e4.ui.workbench 4 0 2019-11-28 19:02:20.987
!MESSAGE FrameworkEvent ERROR
!STACK 0
java.lang.NoClassDefFoundError: javax/annotation/PreDestroy
  at 
org.eclipse.e4.core.internal.di.InjectorImpl.disposed(InjectorImpl.java: 
450)
  at 
org.eclipse.e4.core.internal.di.Requestor.disposed(Requestor.java:156)
  at 
org.eclipse.e4.core.internal.contexts.ContextObjectSupplier$ContextInjec 
tionListener.update(ContextObjectSupplier.java:78)
  at 
org.eclipse.e4.core.internal.contexts.TrackableComputationExt.update(Tra 
ckableComputationExt.java:111)
  at 
org.eclipse.e4.core.internal.contexts.TrackableComputationExt.handleInva 
lid(TrackableComputationExt.java:74)
  at 
org.eclipse.e4.core.internal.contexts.EclipseContext.dispose(EclipseCont 
ext.java:178)
  at 
org.eclipse.e4.core.internal.contexts.osgi.EclipseContextOSGi.dispose(Ec 
lipseContextOSGi.java:99)
  at 
org.eclipse.e4.core.internal.contexts.osgi.EclipseContextOSGi.bundleChan 
ged(EclipseContextOSGi.java:141)
  at 
org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEvent(Bund 
leContextImpl.java:908)
  at 
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventMana 
ger.java:230)
  at 
org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchrono 
us(ListenerQueue.java:148)
  at 
org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleE 
ventPrivileged(EquinoxEventPublisher.java:213)
  at 
org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleE 
vent(EquinoxEventPublisher.java:120)
  at 
org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleE 
vent(EquinoxEventPublisher.java:112)
  at 
org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor.publishModul 
eEvent(EquinoxContainerAdaptor.java:168)
  at org.eclipse.osgi.container.Module.publishEvent(Module.java:476)
  at org.eclipse.osgi.container.Module.doStop(Module.java:634)
  at org.eclipse.osgi.container.Module.stop(Module.java:498)
  at org.eclipse.osgi.container.SystemModule.stop(SystemModule.java:202)
  at 
org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSy 
stemModule$1.run(EquinoxBundle.java:165)
  at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.lang.ClassNotFoundException: javax.annotation.PreDestroy 
cannot be found by org.eclipse.e4.core.di_1.6.100.v20170421-1418
  at 
org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLo 
ader.java:433)
  at 
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.jav 
a:395)
  at 
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.jav 
a:387)
  at 
org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClass 
Loader.java:150)
  at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
  ... 21 more
----------------------------------------------------------
Ich habe leider keine Vorstellung davon, was ich jetzt tun muss, um die 
Installation zu vollenden. Kann mir da jemand weiterhelfen?

Gruss

Robert

von sid (Gast)


Bewertung
0 lesenswert
nicht lesenswert
ich rate mal ins Blaue:

kann es sein, dass Du nur ein JAVA RE hast
(runtime environment)
Eclipse verlangt mWn JAVA SDK
(software development kit)
oder JDK
(java development kit)

die Nomenklatur von Oracle find ich zugegebenermassen etwas verwirrend 
zeitweilig..

Also nochmal genau nachlesen welches Java Eclipse verlangt und dieses 
notfalls nachinstallieren

von R. F. (rfr)


Bewertung
0 lesenswert
nicht lesenswert
Hallo,

ich habe das jdk installiert und neu gestartet, Ergebnis:
----------------------------------------------------------
------------------------------------
eclipse.buildId=unknown
java.version=11.0.3
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Command-line arguments:  -os linux -ws gtk -arch x86_64

!ENTRY org.eclipse.osgi 4 0 2019-11-28 19:02:20.963
!MESSAGE Application error
!STACK 1
org.eclipse.e4.core.di.InjectionException: 
java.lang.NoClassDefFoundError: javax/annotation/PostConstruct
  at 
org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.j 
ava:410)
  at 
org.eclipse.e4.core.internal.di.InjectorImpl.make(InjectorImpl.java:318)
  at 
org.eclipse.e4.core.contexts.ContextInjectionFactory.make(ContextInjecti 
onFactory.java:162)
  at 
org.eclipse.e4.ui.internal.workbench.swt.E4Application.createDefaultHead 
lessContext(E4Application.java:491)
  at 
org.eclipse.e4.ui.internal.workbench.swt.E4Application.createDefaultCont 
ext(E4Application.java:505)
  at 
org.eclipse.e4.ui.internal.workbench.swt.E4Application.createE4Workbench 
(E4Application.java:204)
  at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:614)
  at 
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java: 
336)
  at 
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:5 
94)
  at 
org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
  at 
org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplicat 
ion.java:151)
  at 
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.j 
ava:196)
  at 
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplicat 
ion(EclipseAppLauncher.java:134)
  at 
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(Eclip 
seAppLauncher.java:104)
  at 
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java: 
388)
  at 
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java: 
243)
  at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native 
Method)
  at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMet 
hodAccessorImpl.java:62)
  at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Deleg 
atingMethodAccessorImpl.java:43)
  at java.base/java.lang.reflect.Method.invoke(Method.java:566)
  at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:653)
  at org.eclipse.equinox.launcher.Main.basicRun(Main.java:590)
  at org.eclipse.equinox.launcher.Main.run(Main.java:1499)
  at org.eclipse.equinox.launcher.Main.main(Main.java:1472)
Caused by: java.lang.NoClassDefFoundError: 
javax/annotation/PostConstruct
  at 
org.eclipse.e4.core.internal.di.InjectorImpl.inject(InjectorImpl.java:12 
4)
  at 
org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.j 
ava:399)
  ... 23 more
Caused by: java.lang.ClassNotFoundException: 
javax.annotation.PostConstruct cannot be found by 
org.eclipse.e4.core.di_1.6.100.v20170421-1418
  at 
org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLo 
ader.java:433)
  at 
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.jav 
a:395)
  at 
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.jav 
a:387)
  at 
org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClass 
Loader.java:150)
  at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
  ... 25 more

!ENTRY org.eclipse.e4.ui.workbench 4 0 2019-11-28 19:02:20.987
!MESSAGE FrameworkEvent ERROR
!STACK 0
java.lang.NoClassDefFoundError: javax/annotation/PreDestroy
  at 
org.eclipse.e4.core.internal.di.InjectorImpl.disposed(InjectorImpl.java: 
450)
  at 
org.eclipse.e4.core.internal.di.Requestor.disposed(Requestor.java:156)
  at 
org.eclipse.e4.core.internal.contexts.ContextObjectSupplier$ContextInjec 
tionListener.update(ContextObjectSupplier.java:78)
  at 
org.eclipse.e4.core.internal.contexts.TrackableComputationExt.update(Tra 
ckableComputationExt.java:111)
  at 
org.eclipse.e4.core.internal.contexts.TrackableComputationExt.handleInva 
lid(TrackableComputationExt.java:74)
  at 
org.eclipse.e4.core.internal.contexts.EclipseContext.dispose(EclipseCont 
ext.java:178)
  at 
org.eclipse.e4.core.internal.contexts.osgi.EclipseContextOSGi.dispose(Ec 
lipseContextOSGi.java:99)
  at 
org.eclipse.e4.core.internal.contexts.osgi.EclipseContextOSGi.bundleChan 
ged(EclipseContextOSGi.java:141)
  at 
org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEvent(Bund 
leContextImpl.java:908)
  at 
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventMana 
ger.java:230)
  at 
org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchrono 
us(ListenerQueue.java:148)
  at 
org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleE 
ventPrivileged(EquinoxEventPublisher.java:213)
  at 
org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleE 
vent(EquinoxEventPublisher.java:120)
  at 
org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleE 
vent(EquinoxEventPublisher.java:112)
  at 
org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor.publishModul 
eEvent(EquinoxContainerAdaptor.java:168)
  at org.eclipse.osgi.container.Module.publishEvent(Module.java:476)
  at org.eclipse.osgi.container.Module.doStop(Module.java:634)
  at org.eclipse.osgi.container.Module.stop(Module.java:498)
  at org.eclipse.osgi.container.SystemModule.stop(SystemModule.java:202)
  at 
org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSy 
stemModule$1.run(EquinoxBundle.java:165)
  at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.lang.ClassNotFoundException: javax.annotation.PreDestroy 
cannot be found by org.eclipse.e4.core.di_1.6.100.v20170421-1418
  at 
org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLo 
ader.java:433)
  at 
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.jav 
a:395)
  at 
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.jav 
a:387)
  at 
org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClass 
Loader.java:150)
  at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
  ... 21 more
!SESSION 2019-11-28 20:18:37.902 
-----------------------------------------------
eclipse.buildId=unknown
java.version=11.0.3
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Command-line arguments:  -os linux -ws gtk -arch x86_64

!ENTRY org.eclipse.osgi 4 0 2019-11-28 20:18:43.185
!MESSAGE Application error
!STACK 1
org.eclipse.e4.core.di.InjectionException: 
java.lang.NoClassDefFoundError: javax/annotation/PostConstruct
  at 
org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.j 
ava:410)
  at 
org.eclipse.e4.core.internal.di.InjectorImpl.make(InjectorImpl.java:318)
  at 
org.eclipse.e4.core.contexts.ContextInjectionFactory.make(ContextInjecti 
onFactory.java:162)
  at 
org.eclipse.e4.ui.internal.workbench.swt.E4Application.createDefaultHead 
lessContext(E4Application.java:491)
  at 
org.eclipse.e4.ui.internal.workbench.swt.E4Application.createDefaultCont 
ext(E4Application.java:505)
  at 
org.eclipse.e4.ui.internal.workbench.swt.E4Application.createE4Workbench 
(E4Application.java:204)
  at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:614)
  at 
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java: 
336)
  at 
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:5 
94)
  at 
org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
  at 
org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplicat 
ion.java:151)
  at 
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.j 
ava:196)
  at 
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplicat 
ion(EclipseAppLauncher.java:134)
  at 
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(Eclip 
seAppLauncher.java:104)
  at 
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java: 
388)
  at 
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java: 
243)
  at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native 
Method)
  at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMet 
hodAccessorImpl.java:62)
  at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Deleg 
atingMethodAccessorImpl.java:43)
  at java.base/java.lang.reflect.Method.invoke(Method.java:566)
  at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:653)
  at org.eclipse.equinox.launcher.Main.basicRun(Main.java:590)
  at org.eclipse.equinox.launcher.Main.run(Main.java:1499)
  at org.eclipse.equinox.launcher.Main.main(Main.java:1472)
Caused by: java.lang.NoClassDefFoundError: 
javax/annotation/PostConstruct
  at 
org.eclipse.e4.core.internal.di.InjectorImpl.inject(InjectorImpl.java:12 
4)
  at 
org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.j 
ava:399)
  ... 23 more
Caused by: java.lang.ClassNotFoundException: 
javax.annotation.PostConstruct cannot be found by 
org.eclipse.e4.core.di_1.6.100.v20170421-1418
  at 
org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLo 
ader.java:433)
  at 
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.jav 
a:395)
  at 
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.jav 
a:387)
  at 
org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClass 
Loader.java:150)
  at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
  ... 25 more

!ENTRY org.eclipse.e4.ui.workbench 4 0 2019-11-28 20:18:43.213
!MESSAGE FrameworkEvent ERROR
!STACK 0
java.lang.NoClassDefFoundError: javax/annotation/PreDestroy
  at 
org.eclipse.e4.core.internal.di.InjectorImpl.disposed(InjectorImpl.java: 
450)
  at 
org.eclipse.e4.core.internal.di.Requestor.disposed(Requestor.java:156)
  at 
org.eclipse.e4.core.internal.contexts.ContextObjectSupplier$ContextInjec 
tionListener.update(ContextObjectSupplier.java:78)
  at 
org.eclipse.e4.core.internal.contexts.TrackableComputationExt.update(Tra 
ckableComputationExt.java:111)
  at 
org.eclipse.e4.core.internal.contexts.TrackableComputationExt.handleInva 
lid(TrackableComputationExt.java:74)
  at 
org.eclipse.e4.core.internal.contexts.EclipseContext.dispose(EclipseCont 
ext.java:178)
  at 
org.eclipse.e4.core.internal.contexts.osgi.EclipseContextOSGi.dispose(Ec 
lipseContextOSGi.java:99)
  at 
org.eclipse.e4.core.internal.contexts.osgi.EclipseContextOSGi.bundleChan 
ged(EclipseContextOSGi.java:141)
  at 
org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEvent(Bund 
leContextImpl.java:908)
  at 
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventMana 
ger.java:230)
  at 
org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchrono 
us(ListenerQueue.java:148)
  at 
org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleE 
ventPrivileged(EquinoxEventPublisher.java:213)
  at 
org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleE 
vent(EquinoxEventPublisher.java:120)
  at 
org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleE 
vent(EquinoxEventPublisher.java:112)
  at 
org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor.publishModul 
eEvent(EquinoxContainerAdaptor.java:168)
  at org.eclipse.osgi.container.Module.publishEvent(Module.java:476)
  at org.eclipse.osgi.container.Module.doStop(Module.java:634)
  at org.eclipse.osgi.container.Module.stop(Module.java:498)
  at org.eclipse.osgi.container.SystemModule.stop(SystemModule.java:202)
  at 
org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSy 
stemModule$1.run(EquinoxBundle.java:165)
  at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.lang.ClassNotFoundException: javax.annotation.PreDestroy 
cannot be found by org.eclipse.e4.core.di_1.6.100.v20170421-1418
  at 
org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLo 
ader.java:433)
  at 
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.jav 
a:395)
  at 
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.jav 
a:387)
  at 
org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClass 
Loader.java:150)
  at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
  ... 21 more
!SESSION 2019-11-28 20:19:03.050 
-----------------------------------------------
eclipse.buildId=unknown
java.version=11.0.3
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Command-line arguments:  -os linux -ws gtk -arch x86_64

!ENTRY org.eclipse.osgi 4 0 2019-11-28 20:19:08.007
!MESSAGE Application error
!STACK 1
org.eclipse.e4.core.di.InjectionException: 
java.lang.NoClassDefFoundError: javax/annotation/PostConstruct
  at 
org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.j 
ava:410)
  at 
org.eclipse.e4.core.internal.di.InjectorImpl.make(InjectorImpl.java:318)
  at 
org.eclipse.e4.core.contexts.ContextInjectionFactory.make(ContextInjecti 
onFactory.java:162)
  at 
org.eclipse.e4.ui.internal.workbench.swt.E4Application.createDefaultHead 
lessContext(E4Application.java:491)
  at 
org.eclipse.e4.ui.internal.workbench.swt.E4Application.createDefaultCont 
ext(E4Application.java:505)
  at 
org.eclipse.e4.ui.internal.workbench.swt.E4Application.createE4Workbench 
(E4Application.java:204)
  at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:614)
  at 
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java: 
336)
  at 
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:5 
94)
  at 
org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
  at 
org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplicat 
ion.java:151)
  at 
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.j 
ava:196)
  at 
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplicat 
ion(EclipseAppLauncher.java:134)
  at 
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(Eclip 
seAppLauncher.java:104)
  at 
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java: 
388)
  at 
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java: 
243)
  at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native 
Method)
  at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMet 
hodAccessorImpl.java:62)
  at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Deleg 
atingMethodAccessorImpl.java:43)
  at java.base/java.lang.reflect.Method.invoke(Method.java:566)
  at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:653)
  at org.eclipse.equinox.launcher.Main.basicRun(Main.java:590)
  at org.eclipse.equinox.launcher.Main.run(Main.java:1499)
  at org.eclipse.equinox.launcher.Main.main(Main.java:1472)
Caused by: java.lang.NoClassDefFoundError: 
javax/annotation/PostConstruct
  at 
org.eclipse.e4.core.internal.di.InjectorImpl.inject(InjectorImpl.java:12 
4)
  at 
org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.j 
ava:399)
  ... 23 more
Caused by: java.lang.ClassNotFoundException: 
javax.annotation.PostConstruct cannot be found by 
org.eclipse.e4.core.di_1.6.100.v20170421-1418
  at 
org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLo 
ader.java:433)
  at 
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.jav 
a:395)
  at 
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.jav 
a:387)
  at 
org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClass 
Loader.java:150)
  at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
  ... 25 more

!ENTRY org.eclipse.e4.ui.workbench 4 0 2019-11-28 20:19:08.024
!MESSAGE FrameworkEvent ERROR
!STACK 0
java.lang.NoClassDefFoundError: javax/annotation/PreDestroy
  at 
org.eclipse.e4.core.internal.di.InjectorImpl.disposed(InjectorImpl.java: 
450)
  at 
org.eclipse.e4.core.internal.di.Requestor.disposed(Requestor.java:156)
  at 
org.eclipse.e4.core.internal.contexts.ContextObjectSupplier$ContextInjec 
tionListener.update(ContextObjectSupplier.java:78)
  at 
org.eclipse.e4.core.internal.contexts.TrackableComputationExt.update(Tra 
ckableComputationExt.java:111)
  at 
org.eclipse.e4.core.internal.contexts.TrackableComputationExt.handleInva 
lid(TrackableComputationExt.java:74)
  at 
org.eclipse.e4.core.internal.contexts.EclipseContext.dispose(EclipseCont 
ext.java:178)
  at 
org.eclipse.e4.core.internal.contexts.osgi.EclipseContextOSGi.dispose(Ec 
lipseContextOSGi.java:99)
  at 
org.eclipse.e4.core.internal.contexts.osgi.EclipseContextOSGi.bundleChan 
ged(EclipseContextOSGi.java:141)
  at 
org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEvent(Bund 
leContextImpl.java:908)
  at 
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventMana 
ger.java:230)
  at 
org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchrono 
us(ListenerQueue.java:148)
  at 
org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleE 
ventPrivileged(EquinoxEventPublisher.java:213)
  at 
org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleE 
vent(EquinoxEventPublisher.java:120)
  at 
org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleE 
vent(EquinoxEventPublisher.java:112)
  at 
org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor.publishModul 
eEvent(EquinoxContainerAdaptor.java:168)
  at org.eclipse.osgi.container.Module.publishEvent(Module.java:476)
  at org.eclipse.osgi.container.Module.doStop(Module.java:634)
  at org.eclipse.osgi.container.Module.stop(Module.java:498)
  at org.eclipse.osgi.container.SystemModule.stop(SystemModule.java:202)
  at 
org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSy 
stemModule$1.run(EquinoxBundle.java:165)
  at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.lang.ClassNotFoundException: javax.annotation.PreDestroy 
cannot be found by org.eclipse.e4.core.di_1.6.100.v20170421-1418
  at 
org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLo 
ader.java:433)
  at 
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.jav 
a:395)
  at 
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.jav 
a:387)
  at 
org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClass 
Loader.java:150)
  at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
  ... 21 more
!SESSION 2019-11-28 23:01:41.749 
-----------------------------------------------
eclipse.buildId=unknown
java.version=11.0.3
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Command-line arguments:  -os linux -ws gtk -arch x86_64

!ENTRY org.eclipse.osgi 4 0 2019-11-28 23:01:48.255
!MESSAGE Application error
!STACK 1
org.eclipse.e4.core.di.InjectionException: 
java.lang.NoClassDefFoundError: javax/annotation/PostConstruct
  at 
org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.j 
ava:410)
  at 
org.eclipse.e4.core.internal.di.InjectorImpl.make(InjectorImpl.java:318)
  at 
org.eclipse.e4.core.contexts.ContextInjectionFactory.make(ContextInjecti 
onFactory.java:162)
  at 
org.eclipse.e4.ui.internal.workbench.swt.E4Application.createDefaultHead 
lessContext(E4Application.java:491)
  at 
org.eclipse.e4.ui.internal.workbench.swt.E4Application.createDefaultCont 
ext(E4Application.java:505)
  at 
org.eclipse.e4.ui.internal.workbench.swt.E4Application.createE4Workbench 
(E4Application.java:204)
  at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:614)
  at 
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java: 
336)
  at 
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:5 
94)
  at 
org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
  at 
org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplicat 
ion.java:151)
  at 
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.j 
ava:196)
  at 
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplicat 
ion(EclipseAppLauncher.java:134)
  at 
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(Eclip 
seAppLauncher.java:104)
  at 
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java: 
388)
  at 
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java: 
243)
  at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native 
Method)
  at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMet 
hodAccessorImpl.java:62)
  at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Deleg 
atingMethodAccessorImpl.java:43)
  at java.base/java.lang.reflect.Method.invoke(Method.java:566)
  at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:653)
  at org.eclipse.equinox.launcher.Main.basicRun(Main.java:590)
  at org.eclipse.equinox.launcher.Main.run(Main.java:1499)
  at org.eclipse.equinox.launcher.Main.main(Main.java:1472)
Caused by: java.lang.NoClassDefFoundError: 
javax/annotation/PostConstruct
  at 
org.eclipse.e4.core.internal.di.InjectorImpl.inject(InjectorImpl.java:12 
4)
  at 
org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.j 
ava:399)
  ... 23 more
Caused by: java.lang.ClassNotFoundException: 
javax.annotation.PostConstruct cannot be found by 
org.eclipse.e4.core.di_1.6.100.v20170421-1418
  at 
org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLo 
ader.java:433)
  at 
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.jav 
a:395)
  at 
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.jav 
a:387)
  at 
org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClass 
Loader.java:150)
  at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
  ... 25 more

!ENTRY org.eclipse.e4.ui.workbench 4 0 2019-11-28 23:01:48.270
!MESSAGE FrameworkEvent ERROR
!STACK 0
java.lang.NoClassDefFoundError: javax/annotation/PreDestroy
  at 
org.eclipse.e4.core.internal.di.InjectorImpl.disposed(InjectorImpl.java: 
450)
  at 
org.eclipse.e4.core.internal.di.Requestor.disposed(Requestor.java:156)
  at 
org.eclipse.e4.core.internal.contexts.ContextObjectSupplier$ContextInjec 
tionListener.update(ContextObjectSupplier.java:78)
  at 
org.eclipse.e4.core.internal.contexts.TrackableComputationExt.update(Tra 
ckableComputationExt.java:111)
  at 
org.eclipse.e4.core.internal.contexts.TrackableComputationExt.handleInva 
lid(TrackableComputationExt.java:74)
  at 
org.eclipse.e4.core.internal.contexts.EclipseContext.dispose(EclipseCont 
ext.java:178)
  at 
org.eclipse.e4.core.internal.contexts.osgi.EclipseContextOSGi.dispose(Ec 
lipseContextOSGi.java:99)
  at 
org.eclipse.e4.core.internal.contexts.osgi.EclipseContextOSGi.bundleChan 
ged(EclipseContextOSGi.java:141)
  at 
org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEvent(Bund 
leContextImpl.java:908)
  at 
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventMana 
ger.java:230)
  at 
org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchrono 
us(ListenerQueue.java:148)
  at 
org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleE 
ventPrivileged(EquinoxEventPublisher.java:213)
  at 
org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleE 
vent(EquinoxEventPublisher.java:120)
  at 
org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleE 
vent(EquinoxEventPublisher.java:112)
  at 
org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor.publishModul 
eEvent(EquinoxContainerAdaptor.java:168)
  at org.eclipse.osgi.container.Module.publishEvent(Module.java:476)
  at org.eclipse.osgi.container.Module.doStop(Module.java:634)
  at org.eclipse.osgi.container.Module.stop(Module.java:498)
  at org.eclipse.osgi.container.SystemModule.stop(SystemModule.java:202)
  at 
org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSy 
stemModule$1.run(EquinoxBundle.java:165)
  at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.lang.ClassNotFoundException: javax.annotation.PreDestroy 
cannot be found by org.eclipse.e4.core.di_1.6.100.v20170421-1418
  at 
org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLo 
ader.java:433)
  at 
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.jav 
a:395)
  at 
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.jav 
a:387)
  at 
org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClass 
Loader.java:150)
  at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
  ... 21 more

----------------------------------------------------------
nicht besser als vorher. Kann jemand weiterhelfen?
Gute nacht

Robert

von sid (Gast)


Bewertung
0 lesenswert
nicht lesenswert
welches jdk?
(versionsnummer!)
Wie installiert?
(apt-get? vorher mit apt-get update... mit versionsnummer installiert 
oder nur stumpf java sdk?)

Eclipse hatte Probleme beim update von java acht auf neun,
(möglich, dass da immernoch der Wurm drin ist)
Du kannst java komplett runterwerfen und 8 installieren,
oder schauen ob Dir das hier weiterhilft:
http://wiki.eclipse.org/Configure_Eclipse_for_Java_9
(Im Grunde eclipse > 4.7.1 benutzen)

Oh eins noch:
bitte solche kilometerlangen Fehlermeldungen lieber als textdatei 
anhängen,
ganzschön scrollintensiv sonst ;)

von sid (Gast)


Bewertung
0 lesenswert
nicht lesenswert
Aha.. Herr Internetz sagt:

>> Eclipse osgi Linux requires OpenJDK 8

Irgendetwas nach photon muss es sein (nimm die aktuelle einfach) ;)

und beim apt-get das update nicht vergessen falls Du den installer nicht 
von der eclipse seite lädst ;)

von R. F. (rfr)


Bewertung
0 lesenswert
nicht lesenswert
Hinweis: aus technischen Gründen kann ich in dieser Woche nicht weiter 
schreiben. Das Problem besteht aber weiterhin. Ich melde mich wieder.

von Johannes S. (jojos)


Bewertung
0 lesenswert
nicht lesenswert
Die Fehlermeldung ist ja länger als eine VSCode.exe. Muss es wirklich 
das Eclipse Monster sein?

von oszi40 (Gast)


Bewertung
0 lesenswert
nicht lesenswert
Robert schrieb:
> java.version=11.0.3

Nicht jede Version wird glücklich machen und überall spielen.

von zitter_ned_aso (Gast)


Bewertung
0 lesenswert
nicht lesenswert
dann probiere es ohne Installation.

Eclipse (evt. gleich mit CDT  Java  whatever) runterladen:

https://www.eclipse.org/downloads/packages/

entpacken und mit mit ./eclipse starten (aus dem eclipse-Verzeichnis). 
Fertig.

Die Installation ist gar nicht erforderlich. Die entpackte Datei lässt 
sich auch so starten. Und aktualisieren kannst du das Programm auch 
(über Menü "Help").

Wenn alles läuft, dann kannst du eine Verknüpfunng ins 
/usr/bin-Verzeichnis schmeißen (soft link: ln - s blablabla)

Antwort schreiben

Die Angabe einer E-Mail-Adresse ist freiwillig. Wenn Sie automatisch per E-Mail über Antworten auf Ihren Beitrag informiert werden möchten, melden Sie sich bitte an.

Wichtige Regeln - erst lesen, dann posten!

  • Groß- und Kleinschreibung verwenden
  • Längeren Sourcecode nicht im Text einfügen, sondern als Dateianhang

Formatierung (mehr Informationen...)

  • [c]C-Code[/c]
  • [avrasm]AVR-Assembler-Code[/avrasm]
  • [code]Code in anderen Sprachen, ASCII-Zeichnungen[/code]
  • [math]Formel in LaTeX-Syntax[/math]
  • [[Titel]] - Link zu Artikel
  • Verweis auf anderen Beitrag einfügen: Rechtsklick auf Beitragstitel,
    "Adresse kopieren", und in den Text einfügen




Bild automatisch verkleinern, falls nötig
Bitte das JPG-Format nur für Fotos und Scans verwenden!
Zeichnungen und Screenshots im PNG- oder
GIF-Format hochladen. Siehe Bildformate.

Mit dem Abschicken bestätigst du, die Nutzungsbedingungen anzuerkennen.