[ERROR] The goal you specified requires a project to execute but there is no POM in this directory
2017-10-31 20:25
826 查看
手动添加maven构件报错
[ERROR] The goal you specified requires a project to execute but there is no POM in this directory (C:\Windows\System32). Please verify you invoked Maven from the correct directory
解决办法:在每个参数的前后加上引号
例如:
mvn install:install-file
"-Dfile=c\xxx.jar" "-DgroupId=aa" "-DartifactId=bb" "-Dversion=1.1" "-Dpackaging=jar" "-DgeneratePom=true" "-DcreateChecksum=true"
[ERROR] The goal you specified requires a project to execute but there is no POM in this directory (C:\Windows\System32). Please verify you invoked Maven from the correct directory
解决办法:在每个参数的前后加上引号
例如:
mvn install:install-file
"-Dfile=c\xxx.jar" "-DgroupId=aa" "-DartifactId=bb" "-Dversion=1.1" "-Dpackaging=jar" "-DgeneratePom=true" "-DcreateChecksum=true"
相关文章推荐
- The goal you specified requires a project to execute but there is no POM in this directory...
- The goal you specified requires a project to execute but there is no POM in this directory
- The goal you specified requires a project to execute but there is no POM in this directory 错误
- The goal you specified requires a project to execute but there is no POM in this directory
- maven报错 the goal you specified requires a project to execute but there is no POM in this direct...
- The goal you specified requires a project to execute but there is no POM in 错误
- Maven报错 解决方案。ERROR: No goals have been specified for this build. You must specify a valid lifecycle phase or a goal in the format <plugin-prefix>:<goal> or <plugin-group-id>:<plugin-artifact-id
- Maven报错 解决方案。ERROR: No goals have been specified for this build. You must specify a valid lifecycle phase or a goal in the format <plugin-prefix>:<goal> or <plugin-group-id>:<plugin-artifact-id
- Maven报错 解决方案。ERROR: No goals have been specified for this build. You must specify a valid lifecycle phase or a goal in the format <plugin-prefix>:<goal> or <plugin-group-id>:<plugin-artifact-id
- 【Visual Studio】The project appears to be under source control, but the associated source control plug-in is not installed on this computer
- This is probably because there is no OLE editor registered against the type of file you were trying to open.
- Unable to start debugging on the web server. You do not have permission to debug the application. The URL for this project is in
- CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
- FIX: "There is insufficient system memory in resource pool 'internal' to run this query" error
- Azure 删除VHD时报错:There is currently a lease on the blob and no lease ID was specified in the request
- Error: The project file ' ' has been renamed or is no longer in the solution
- This function has none of Deterministic,no sql,or reads sql data in its declaration and binary logging is enabled(you *might* want to use the less safe log_bin_trust_function_creators variable
- [ERROR] No compiler is provided in this environment. Perhaps you are running on a JRE rather than a
- [ERROR] No compiler is provided in this environment. Perhaps you are running on a JRE rather than a
- It seems that the port 3306 is already in use.aer you sure you want to use this port