Unable to add module to the current project as it is not of packaging type 'pom' 问题解决
来源:互联网 发布:运动数据记录器 编辑:程序博客网 时间:2024/06/15 11:45
mvn archetype:generate -DgroupId=com.tony.bank -DartifactId=consumerBB -DarchetypeArtifactId=maven-archetype-quickstart -DinteractiveMode=false
根据 maven 教程输入上面命令创建新项目时,会出现如下错误 :
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2.3:generate (default-cli) on project consumerBB: Unable to add module to the current project as it is not of packaging type 'pom' -> [Help 1]
创建一个新的空的目录,执行上面的 maven 命令。
如果不是空目录就可能会出现上面错误。
maven 教程 : maven, tutorialspoint
参考 : Error when creating a new maven project,stackoverflow
2 0
- Unable to add module to the current project as it is not of packaging type 'pom'
- Unable to add module to the current project as it is not of packaging type 'pom' 问题解决
- 错误整理:Unable to add module to the current project as it is not of packaging type 'pom'
- 执行 maven 命令 报错Unable to add module to the current project as it is not of packaging type 'pom'
- 错误解决:Unable to add module to the current project as it is not of package
- maven: Unable to add module to the current project
- 新建maven module时报错 The parent project must have a packaging type of POM
- The parent project must have a packaging type of POM
- The parent project must have a packaging type of POM
- The parent project must have a packaging type of POM
- Could not use "Ocean configurator" to add the ocean module to the ocean module project
- It is not safe to rely on the system问题解决
- Project configuration is not up-to-date with pom.xml. Select: Maven->Update Project... from the
- Description Resource Path Location Type Project configuration is not up-to-date with pom
- Unable to start debugging on the web server. The project is not configured to be debugged.
- Unable to start debugging on the web server. The project is not configured to be debugged.
- The parent project must have a packaging type of POM?问题的解决办法
- Module 'starter' is not available! You either misspelled the module name or forgot to load it.
- Hibernate状态 (merge,attachDirty,attachClean
- jQueryRegLogin弹出可拖动的登录和注册
- Spring MVC 实现文件下载,解决文件下载汉字乱码问题
- vim
- iOS 开发的常见问题不涉及网络
- Unable to add module to the current project as it is not of packaging type 'pom' 问题解决
- 给小白的Java EE生存指南(4) : 一只叫Tom的猫
- 渠得清如许,源头活水来——2015年年终总结
- URLEncoder Function for MySQL(mysql urlencode 支持中文)
- 【自己总结的】网页乱码解决方式
- 给小白的Java EE生存指南(5) :AJAX
- 中介者模式
- cf602e New Year Tree dfs序+二进制+线段树区间修改
- 从IAR arm 5.5 IAR ARM 6.30 等低版本升级为高版本 IAR arm 7.4