Unable to create project from archetype [org.apache.maven.archetypes:maven-archetype-quickstart:1.1]
Unable to add module to the current project as it is not of packaging type ‘pom’
在国外一个论坛中碰到类似的问题,有个网友的回答摘抄如下:
Are you running the command from a directory that has an existing pom.xml file in it? I think that may be confusing Maven, as it thinks you’re trying to add your new project as a sub-module of the project in the working directory.
原来是因为在Workspace下放了个POM文件
另外3.0下不支持archetype:create,只支持archetype:generate
Unable to create project from archetype
最新推荐文章于 2023-06-02 22:50:54 发布