Search code examples
maveneclipse-plugin

Error creating new Maven project in eclipse


When create a new maven project in eclipse some error occurred:

problems have occurred

Fails to create project pom.xml error How can I overcome this error?


Solution

  • Please be clear in explaining the problem you faced. Anyway I will demonstrate the steps in creating a maven project

    1. GoTo "File" --> "New" --> "Maven Project" . You will see the below window

    enter image description here

    1. Click on "Next".You will see the below

    enter image description here

    1. Now if you want a simple maven project choose "maven-archetype-quickstart" . If you want a webapp then choose "maven-archetype-webapp"(type "webapp" in search box and you should find it)

    2. Once you have made the selection , click on "next" . You will see the below

    enter image description here

    1. For "GroupId" - Add your company/organization name For "ArtifactId" - Add your project name

    2. Click on "Finish"

    Eclipse will now have no problem in creating a maven project for you.