[ERROR] The goal you specified requires a project to execute but there is no POM in this directory
来源:互联网 发布:java杨辉三角几年里 编辑:程序博客网 时间:2024/05/16 02:13
问题
在安装maven的时候,我在cmd里面输入mvn install的时候报错:
The goal you specified requires a project to execute but there is no POM in this directory (C:\Program Files\三浪). Please verify you invoked Maven from the correct directory. -> [Help 1]
原因和解决方法
报错说是需要一个工程来执行,但是没有POM,我推测是maven工程的执行开始于pom.xml,正如javaweb工程开始于web.xml,这句话意思是想要执行一个maven工程,目录底下必须有pom.xml,现在没有,所有报错了。我的解决方法是进入到maven工程根目录下面(有pom.xml),然后执行mvn install就好了。
0 0
- [ERROR] The goal you specified requires a project to execute but there is no POM in this directory
- [ERROR] 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...
- The goal you specified requires a project to execute but there is no POM in 错误
- No goals have been specified for this build. You must specify a valid li fecycle phase or a goal in
- No goals have been specified for this build. You must specify a valid lifecycle phase or a goal in t
- CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
- A file with the correct name was found in this directory, but it is not the correct one.
- [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
- [ERROR] No compiler is provided in this environment. Perhaps you are running on a JRE rather than a
- "The file you are trying to open, '[filename]', is in a different format" Excel Error
- Unable to start debugging on the web server. You do not have permission to debug the application. The URL for this project is in
- Requires development platform O but this is a release platform
- No orientation specified, and the default is horizontal. This is a common source of bugs when ...
- No orientation specified, and the default is horizontal. This is a common so
- 自定义属性
- 用matlab给图像分块并保存子图
- (第十六周项目3)归并排序算法的改进
- 第十二周项目2-操作用邻接表存储的图
- 第14周项目1-(1)验证折半查找算法
- [ERROR] The goal you specified requires a project to execute but there is no POM in this directory
- 第十四周项目1-(3)验证二叉排序树相关算法
- 第7周项目5 排队看病模拟
- MTK ACC Mode配置使用ACCDET2引脚做中断源------之进制转换超详细通俗讲解
- iOS-在Xcode中使用Git进行源码版本控制(二:提交更改)
- 1021. 个位数统计 (15)
- ios 监听文本框文字的变化
- Storm 提交拓扑后UI中spout、bolt的Num都显示为0
- 第15周项目2 用哈希法组织关键字