maven: Unable to add module to the current project
来源:互联网 发布:linux强制退出不保存 编辑:程序博客网 时间:2024/05/22 23:53
如题, Caused by: org.apache.maven.plugin.MojoFailureException: Unable to add module to the current project
按照字面来看,其实说的已经很明显了,不能再当前项目下添加模块。
意思是指,你在使用Maven创建的项目文件夹下,又执行了Maven创建项目命令,
即类似于mvn archetype:generate -DarchetypeGroupId=org.apache.maven.archetypes -DgroupId=org.lzc.mymahout -DartifactId=myMahout -DpackageName=org.lzc.mymahout -Dversion=1.0-SNAPSHOT -DinteractiveMode=false -DarchetypeCatalog=local -X
Maven认为这是不可以的。
所以,只要不是在使用maven创建的项目的目录下,再使用maven创建新项目都是可以的。
1 0
- maven: Unable to add module to the current project
- 错误解决:Unable to add module to the current project as it is not of package
- 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 packaging type 'pom'
- Unable to add module to the current project as it is not of packaging type 'pom' 问题解决
- Could not use "Ocean configurator" to add the ocean module to the ocean module project
- Add the module to kerenl
- Unable to add the follwing facets to project: Axis2 Web Services Extensions, Axis Web Services Core.
- Unable to add the follwing facets to project testAxis2: Axis2 Web Services Core, Axis2 Web Services
- Unable to update database to match the current model!
- IDEA Unable to import maven project 解决方法
- 打包exe的时候出现Unable to open this project because the add-on software
- How to add bean resource to maven project.
- Maven: Can't change the version of project to Dynamic Web Module
- unable to resolve module
- QGtkStyle was unable to detect the current GTK+ theme接
- QGtkStyle was unable to detect the current GTK+ theme
- Java简单实现链表增删排
- 5-1、Spark环境搭建
- Codeforce 567C(Geometric Progression) 奇淫巧计...
- 最短路spfa POJ 1502 MPI Maelstrom
- Google Java 编码规范
- maven: Unable to add module to the current project
- [PHP]从脚本页面到Mysql数据库的各种中文乱码问题
- jQuery对象与DOM对象之间的转换
- Linux 网络编程 IP协议
- 伽玛函数
- android TIF HAL层代码分析
- 哈夫曼树算法压缩文件
- 在Windows下运行Make3d
- Android JNI 使用的数据结构JNINativeMethod详解 动态注册JNI