maven 编译错误
来源:互联网 发布:淘宝装修店铺招牌图片 编辑:程序博客网 时间:2024/06/07 12:33
maven这个东西是很不错,不仅仅是一个编译工具,还能帮你做一些自动的项目管理工作,很值得推荐,当然缺点也是有的,就是不如ant那样容易上手,而且你自己控制classpath很麻烦。今天在使用ant的时候出现了一个错误,错误如下:
have occasion to build at locations where I don't have internet access but I do have access to a cvs repository where I have added
my local maven repository. So I build a local repository with a check out from cvs and then I build my project with 'mvn -o clean install'.
However I get the following error:
[ERROR] BUILD ERROR
[INFO] ----------------------------------------------------------------------------
[INFO] The plugin 'org.apache.maven.plugins:maven-site-plugin' does not exist or no valid version could be found
[INFO] ----------------------------------------------------------------------------
but it's there!
ls ~/.m2/repository/org/apache/maven/plugins/maven-site-plugin/2.0-beta-4/
CVS maven-site-plugin-2.0-beta-4.jar maven-site-plugin-2.0-beta-4.pom
While testing this build process I have internet access and if I remove ~/.m2/repository/org/apache/maven/plugins/maven-site-plugin/2.0-beta-4 and build 'online' the same files (maven-site-plugin-2.0-beta-4.jar,maven-site-plugin-2.0-beta-4.pom)
end up in the same place (~/.m2/repository/org/apache/maven/plugins/maven-site-plugin/2.0-beta-4/) and the build works.
使用maven的多个办法也是如此,找了n久,终于发现应该是网络的问题,在maven的config下配置setting里面总价一个代理配置,一切ok。
- maven 编译错误
- maven编译错误
- maven 编译hadoop错误解决
- 【Maven】遇到中文,maven编译错误
- Maven 编译命令错误之编译错误的解决
- eclipse jee + maven + m2eclipse 编译错误
- maven使用及出现编译错误问题
- maven编译mule3.x 错误s
- Maven初学--遇到编译错误处理
- Maven编译类文件常见错误解决方法
- CAS4.0 导入MAVEN编译错误
- 编译maven项目时报maven-resources-plugin:2.5 错误
- 《Maven-编译错误解决》---请使用 -Xlint:unchecked 重新编译
- maven编译错误:Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:2.5:clean
- maven编译项目时遇到的奇怪的错误
- maven编译出现编码 gbk 的不可映射字符错误
- Maven编译打包项目 mvn clean install 遇到的错误
- IntelliJ Idea 编译maven报错非法字符:\65279 错误
- SQL Server 索引结构及其使用(三)
- 雅虎商业搜索:注水肉而已(作者:江南SKY)(加评论)
- 07-08-01学习日记(2)
- SQL Server 索引结构及其使用(四)
- 常见闪存卡介绍
- maven 编译错误
- Dota Allstar 信息查询系统v1.0.0.9(2007年8月1日更新)
- 在Eclipse中使用JUnit4进行单元测试(初级篇)
- Two informative resources: Tooltips and CSS tips
- 模版与代码分离技术
- B-树的高度及性能分析
- vc编译选项
- ASP.NET2.0利用httphandler实现URL重写(伪URL及伪静态)
- 秒数与标准时间互换-no more than one line