aws / aws-toolkit-eclipse

(End of life: May 31, 2023) AWS Toolkit for Eclipse
http://aws.amazon.com/eclipse
Apache License 2.0
275 stars 177 forks source link

Getting java.lang.NoSuchMethodError while trying to create New Java Lambda Project #251

Open goelshruti90 opened 2 years ago

goelshruti90 commented 2 years ago

image '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)'

sparklingkaluza commented 2 years ago

same, for new java project:

'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)'
cthrasher commented 1 year ago

The org.eclipse.m2e.core.project.IProjectConfigurationManager.createSimpleProject method was updated to use List\<String> instead of String[] as of the commit on July 5th:

https://github.com/eclipse-m2e/m2e-core/commit/8b876a6748d8858578ee5894c40a872affc0e052?diff=unified#diff-1b5f315272270648208014a90a310b4baf3fb2bd92ccb9b8bffb474f7d5332a5

floralph commented 1 year ago

Similar issue with a workaround https://github.com/aws/aws-toolkit-eclipse/issues/249