Error when creating a new maven project

前端 未结 4 1926
耶瑟儿~
耶瑟儿~ 2021-01-02 01:18

When I try create a new maven project (with several archetypes, not only the one below), I am facing this error:

Unable to create project from archetype [org         


        
4条回答
  •  一向
    一向 (楼主)
    2021-01-02 01:51

    You have to remove the already existing pom.xml or if you need it to execute the maven command, try adding pom to your pom.

    Since if you have an already existing in the current directory, it should match with the package structure. It is always to good to start with no pom file in the parent directory.

    This should work.

提交回复
热议问题