[ERROR] The goal you specified requires a project to execute but there is no POM in this directory
2015-12-14 16:41
246 查看
问题
在安装maven的时候,我在cmd里面输入mvn install的时候报错:[code]The goal you specified requires a project to execute but there is no POM in this directory (C:\Program Files\三浪). Please verify you invoked Mave n from the correct directory. -> [Help 1][/code]
原因和解决方法
报错说是需要一个工程来执行,但是没有POM,我推测是maven工程的执行开始于pom.xml,正如javaweb工程开始于web.xml,这句话意思是想要执行一个maven工程,目录底下必须有pom.xml,现在没有,所有报错了。我的解决方法是进入到maven工程根目录下面(有pom.xml),然后执行mvn install就好了。相关文章推荐
- Storm 提交拓扑后UI中spout、bolt的Num都显示为0
- rpmbuild线上实战
- 为嵌套在左右滑动的UIScrollview上的UITableView增加滑动删除
- iOS 十六进制的颜色值转换为UIColor
- iOS UITableView分割线颜色,长度自定义
- vs2010出现如下错误: VCEnd" exited with code 1.
- 救济金发放(The Dole Queue,UVa33)
- 蓝牙的漏洞、威胁与对策
- UIKIT的简介
- 115.Distinct Subsequences
- 【Android实现自定义UI-ViewGroup】
- ios——UILabel(换行模式)lineBreakMode
- 【Android测试】【第十三节】Uiautomator——项目实战
- 【Android测试】【第十二节】Uiautomator——API详解
- 【Android测试】【第十一节】Uiautomator——简介
- 【Android开发学习笔记】【随笔】UI线程
- requirejs之demo (转)
- XScrollView下拉刷新控件详解
- FASTA序列格式详细说明
- UI之scrollPageControl