问题
org.osgi.framework.BundleException: The activator org.eclipse.ui.internal.WorkbenchPlugin for bundle org.eclipse.ui.workbench is invalid
Caused by: java.lang.NoClassDefFoundError: org/eclipse/swt/SWTError
I have verified in the target platform that the org.eclipse.swt(3.6.2.v3659c) is checked.
the plugin org.eclipse.swt.win32.win32.x86(3.6.2.v3659c) is not checked due to this is a not a 32bit target build.
I do not see a org.eclipse.swt.win32.win32.x86_64 plugin
I did try checking the plugin org.eclipse.swt.win32.win32.x86(3.6.2.v3659c) in the Run Configuration, and the Platform Configuration, and the ".product" file. the results did not change.
in the eclipse IDE installation Details I see the org.eclipse.swt.win32.win32.x86_64 but do not see it when looking in the Run Configuration, or the Platform Configuration, or ".product" file.
I would assume this should run as there is not compile time issues with the SWT library.
来源:https://stackoverflow.com/questions/56137927/org-osgi-framework-bundleexception-the-activator-org-eclipse-ui-internal-workbe