skip to Main Content

I am getting started with the AWS SDK for Java in Eclipse IDE – have set it up using this link.

Went to start programming and selected Create a New AWS Java Project (using one of the samples provided, in a new workspace), and pressed OK and it returned a NoSuchMethodError (copied & pasted below). Tried to make a new project without using a sample and still got the same error. What is going wrong?

void org.eclipse.m2e.core.project.IProjectConfigurationManager.createSimpleProject(org.eclipse.core.resources.IProject, org.eclipse.core.runtime.IPath, org.apache.maven.model.Model, java.lang.String[], org.eclipse.m2e.core.project.ProjectImportConfiguration, org.eclipse.core.runtime.IProgressMonitor)'
'void org.eclipse.m2e.core.project.IProjectConfigurationManager.createSimpleProject(org.eclipse.core.resources.IProject, org.eclipse.core.runtime.IPath, org.apache.maven.model.Model, java.lang.String[], org.eclipse.m2e.core.project.ProjectImportConfiguration, org.eclipse.core.runtime.IProgressMonitor)

2

Answers


  1. The AWS Toolkit doesn’t always support the latest Eclipse IDE versions. Try installing Eclipse 2021-12 version and install the AWS Toolkit there.

    I had the same problem. Uninstalled Eclipse & installed 2021-12 and it worked for me.

    enter image description here

    Login or Signup to reply.
  2. Just to add to this thread: if you take a look at the repo for the AWS Eclipse plugin here: https://github.com/aws/aws-toolkit-eclipse you will see that there have not been any updates to this plugin for a 2 years, so I guess you may need to consider using another IDE for AWS Java development.

    Perhaps consider a new IDE and/or a different programming language. Neither are very low effort options =/

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search