Skip to main content



      Home
Home » Newcomers » Newcomers » Eclipse RCP-Plug-in "com.masterdemo" was unable to instantiate class com.master.rcp.Master(org.eclipse.core.runtime.CoreException: Plug-in "com.masterdemo" was unable to instantiate class "com.master.rcp.MasterApplication".)
Eclipse RCP-Plug-in "com.masterdemo" was unable to instantiate class com.master.rcp.Master [message #1816102] Mon, 21 October 2019 05:20 Go to next message
Eclipse UserFriend
Getting following exception while executing plugin, using eclipse rcp:

org.eclipse.core.runtime.CoreException: Plug-in "com.masterdemo" was unable to instantiate class "com.master.rcp.MasterApplication".
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.throwException(RegistryStrategyOSGI.java:212)
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:206)
at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:934)
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.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:198)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:137)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:107)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:660)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:597)
at org.eclipse.equinox.launcher.Main.run(Main.java:1468)
at org.eclipse.equinox.launcher.Main.main(Main.java:1441)
Caused by: java.lang.NoClassDefFoundError: com/container/ContainerException
at java.base/java.lang.Class.getDeclaredConstructors0(Native Method)
at java.base/java.lang.Class.privateGetDeclaredConstructors(Class.java:3138)
at java.base/java.lang.Class.getConstructor0(Class.java:3343)
at java.base/java.lang.Class.getDeclaredConstructor(Class.java:2554)
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:204)
... 16 more
Caused by: java.lang.ClassNotFoundException: com.container.ContainerException cannot be found by com.master.masterdemo_6.0.3
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:514)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:425)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:417)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:155)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
... 21 more
Re: Eclipse RCP-Plug-in "com.masterdemo" was unable to instantiate class com.master.rcp.Ma [message #1816112 is a reply to message #1816102] Mon, 21 October 2019 07:59 Go to previous message
Eclipse UserFriend
These are all confusing class names. It impossible to comment without seeing what you've all put in your plugin.xmls and what class names you're all using, but it looks like a mess...
Previous Topic:inquiry about integration with GitHub Enterprise
Next Topic:Java for Windows Missing(Trying to install 2019 and I get the above error)
Goto Forum:
  


Current Time: Thu May 15 13:06:38 EDT 2025

Powered by FUDForum. Page generated in 0.07919 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top