AWS Toolkit for Eclipse

0

I just installed a clean latest version of Eclipse and then installed the AWS Toolkit for Eclipse and nothing happens when I select options to build ANY kind of Java Project. And when I try to select AWS Preferences I get an error "The currently displayed page contains invalid values"

Eclipse IDE for Enterprise Java and Web Developers (includes Incubating components) Version: 2023-06 (4.28.0) Build id: 20230608-1333 OS: Windows 10, v.10.0, x86_64 / win32 Java vendor: Oracle Corporation Java runtime version: 19.0.2+7-44 Java version: 19.0.2

From Error Log when I click "New AWS Java Project"

Plug-in: org.eclipse.ui

Unhandled event loop exception

Exception Stack Trace:

	at com.amazonaws.eclipse.core.ui.ProjectNameComposite.createControl(ProjectNameComposite.java:45)
	at com.amazonaws.eclipse.core.ui.ProjectNameComposite.<init>(ProjectNameComposite.java:41)
	at com.amazonaws.eclipse.sdk.ui.wizard.NewAwsJavaProjectWizardPageOne.createProjectNameComposite(NewAwsJavaProjectWizardPageOne.java:142)
	at com.amazonaws.eclipse.sdk.ui.wizard.NewAwsJavaProjectWizardPageOne.createControl(NewAwsJavaProjectWizardPageOne.java:108)
	at org.eclipse.jface.wizard.Wizard.createPageControls(Wizard.java:180)
	at org.eclipse.jface.wizard.WizardDialog.createPageControls(WizardDialog.java:744)
	at org.eclipse.jface.wizard.WizardDialog.createContents(WizardDialog.java:636)
	at org.eclipse.jface.window.Window.create(Window.java:431)
	at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1094)
	at org.eclipse.jface.window.Window.open(Window.java:788)
	at com.amazonaws.eclipse.sdk.ui.menu.NewAwsJavaProjectHandler.execute(NewAwsJavaProjectHandler.java:32)
	at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:283)
	at org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:97)
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
	at java.base/java.lang.reflect.Method.invoke(Method.java:578)
	at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:58)
	at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:309)
	at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:243)
	at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:173)
	at org.eclipse.e4.core.commands.internal.HandlerServiceHandler.execute(HandlerServiceHandler.java:156)
	at org.eclipse.core.commands.Command.executeWithChecks(Command.java:488)
	at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:485)
	at org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:213)
	at org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem.executeItem(HandledContributionItem.java:438)
	at org.eclipse.e4.ui.workbench.renderers.swt.AbstractContributionItem.handleWidgetSelection(AbstractContributionItem.java:449)
	at org.eclipse.e4.ui.workbench.renderers.swt.AbstractContributionItem.lambda$2(AbstractContributionItem.java:475)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89)
	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4274)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1066)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4072)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3660)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1155)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1046)
	at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:155)
	at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:643)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:550)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:171)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:152)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:136)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:402)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
	at java.base/java.lang.reflect.Method.invoke(Method.java:578)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:659)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:596)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1467)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1440)
Caused by: java.lang.ClassNotFoundException: org.eclipse.core.databinding.beans.PojoObservables cannot be found by com.amazonaws.eclipse.core_2.3.1.v201807201743
	... 51 more

Session Data

eclipse.buildId=4.28.0.20230608-1200
java.version=19.0.2
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Framework arguments:  -product org.eclipse.epp.package.jee.product
Command-line arguments:  -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.jee.product
tdemay
asked 10 months ago357 views
1 Answer
1
Accepted Answer

Hi,

First of all, according to the Github page on May 31, 2023 the AWS Toolkit for Eclipse reached end of life and is no longer supported by AWS. Therefore, I recommend that you take a look at the officially supported AWS Integrated development environments (IDE) Toolkits and Software development kits (SDKs).

The AWS Toolkit for Eclipse will reach end of life on May 31, 2023. After this date, the Toolkit will not receive any updates including security patches. We don’t encourage using the Toolkit for Eclipse after this date. The AWS Toolkit for Eclipse open source project on GitHub will be archived, meaning its issues, pull requests, code, labels, milestones, projects, wiki, releases, commits, tags, branches, reactions, code scanning alerts, comments and permissions will become read-only for all users.

As far as the attached stacktrace is concerned, it looks like the error is caused because com.amazonaws.eclipse.core_2.3.1.v201807201743 cannot found the org.eclipse.core.databinding.beans.PojoObservables class, because it has been completely removed from Eclipse on September 2022. You could try using an older version, but as I mentioned previously, it is best to look for an alternative solution that is officially supported by AWS.

I hope this helps you.

profile picture
EXPERT
answered 10 months ago
profile picture
EXPERT
reviewed 10 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions