Forum Stats

  • 3,826,780 Users
  • 2,260,707 Discussions
  • 7,897,072 Comments

Discussions

eclipse 2020-06 + Oracle WebLogic Server Tools: java.lang.ClassNotFoundException

asbachb
asbachb Member Posts: 1
edited Jul 5, 2020 12:02PM in Enterprise Pack for Eclipse

Hello,

when I start eclipse 2020-06 following error appears in Error Log:

org.osgi.framework.BundleException: Error starting module. osgi.identity; type="osgi.bundle"; version:Version="17.3.0.201903121357"; osgi.identity="oracle.eclipse.tools.webtier.ui"; singleton:="true" [id=1046]at org.eclipse.osgi.container.Module.doStart(Module.java:614)at org.eclipse.osgi.container.Module.start(Module.java:468)at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:493)at org.eclipse.osgi.internal.hooks.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:117)at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClass(ClasspathManager.java:571)at org.eclipse.osgi.internal.loader.ModuleClassLoader.findLocalClass(ModuleClassLoader.java:346)at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:398)at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:477)at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:171)at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)at org.eclipse.osgi.internal.framework.EquinoxBundle.loadClass(EquinoxBundle.java:620)at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:196)at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:923)at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:246)at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:63)at org.eclipse.ui.internal.WorkbenchPlugin.lambda$0(WorkbenchPlugin.java:287)at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:55)at org.eclipse.ui.internal.WorkbenchPlugin.createExtension(WorkbenchPlugin.java:285)at org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartupRunnable.java:55)at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45)at org.eclipse.ui.internal.Workbench$40.run(Workbench.java:2701)at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)Caused by: java.lang.NoClassDefFoundError: org/eclipse/jdt/internal/corext/template/java/CodeTemplateContextTypeat java.base/java.lang.Class.getDeclaredConstructors0(Native Method)at java.base/java.lang.Class.privateGetDeclaredConstructors(Class.java:3137)at java.base/java.lang.Class.getConstructor0(Class.java:3342)at java.base/java.lang.Class.getConstructor(Class.java:2151)at org.eclipse.osgi.internal.framework.BundleContextImpl.loadBundleActivator(BundleContextImpl.java:826)at org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:778)at org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:1015)at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.startWorker(EquinoxBundle.java:365)at org.eclipse.osgi.container.Module.doStart(Module.java:605)... 21 moreCaused by: java.lang.ClassNotFoundException: org.eclipse.jdt.internal.corext.template.java.CodeTemplateContextType cannot be found by oracle.eclipse.tools.webtier.ui_17.3.0.201903121357at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:516)at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:171)at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)... 30 moreRoot exception:java.lang.NoClassDefFoundError: org/eclipse/jdt/internal/corext/template/java/CodeTemplateContextTypeat java.base/java.lang.Class.getDeclaredConstructors0(Native Method)at java.base/java.lang.Class.privateGetDeclaredConstructors(Class.java:3137)at java.base/java.lang.Class.getConstructor0(Class.java:3342)at java.base/java.lang.Class.getConstructor(Class.java:2151)at org.eclipse.osgi.internal.framework.BundleContextImpl.loadBundleActivator(BundleContextImpl.java:826)at org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:778)at org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:1015)at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.startWorker(EquinoxBundle.java:365)at org.eclipse.osgi.container.Module.doStart(Module.java:605)at org.eclipse.osgi.container.Module.start(Module.java:468)at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:493)at org.eclipse.osgi.internal.hooks.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:117)at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClass(ClasspathManager.java:571)at org.eclipse.osgi.internal.loader.ModuleClassLoader.findLocalClass(ModuleClassLoader.java:346)at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:398)at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:477)at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:171)at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)at org.eclipse.osgi.internal.framework.EquinoxBundle.loadClass(EquinoxBundle.java:620)at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:196)at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:923)at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:246)at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:63)at org.eclipse.ui.internal.WorkbenchPlugin.lambda$0(WorkbenchPlugin.java:287)at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:55)at org.eclipse.ui.internal.WorkbenchPlugin.createExtension(WorkbenchPlugin.java:285)at org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartupRunnable.java:55)at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45)at org.eclipse.ui.internal.Workbench$40.run(Workbench.java:2701)at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)Caused by: java.lang.ClassNotFoundException: org.eclipse.jdt.internal.corext.template.java.CodeTemplateContextType cannot be found by oracle.eclipse.tools.webtier.ui_17.3.0.201903121357at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:516)at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:171)at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)... 30 more

This seems to appear in other eclipse versions as well: https://bugs.eclipse.org/bugs/show_bug.cgi?id=547443

I wonder where's the best place to report that problems? An eclipse maintainer mentioned in that issue that there's a need for adjustments in the plugin itself.

Thanks

Benjamin

Answers