呼,按着楼主的大作终于OK了,,不过2确实比1麻烦好多的说 |
[INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.hadoop:hadoop-maven-plugins:2.4.0:prot oc (compile-protoc) on project hadoop-common: org.apache.maven.plugin.MojoExecut ionException: 'protoc --version' did not return a version -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit ch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please rea d the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionE xception [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <goals> -rf :hadoop-common 这个错误是怎么回事,已经正确安装protoc |
安装的途中,现在jdk的版本是1.8了,安装hadoop项目,不能用1.8,被坑的不行,只能去oracle官网下载jdk1.7,注意,还要改变自己电脑原先配置的环境变量JAVA_HOME的地址。 在安装MaxTemperature这个项目的时候缺少org.apache.hadoop.mapreduce这个包,找了一天没找到,结果要去下载hadoop-0.20.203.0rc1.tar.gz这个包下载地址http://archive.apache.org/dist/h ... .20.203.0rc1.tar.gz 新手,学习遇见的问题,希望后面学习的时候不要找东西找不到 |
支持支持 |
楼主2.7.2里没有MVN文件如何升级关联不掉源码 |
非常不错啊 |
123221321 |
运行
[ERROR] Failed to execute goal on project hadoop-nfs: Could not resolve dependen cies for project org.apache.hadoop:hadoop-nfs:jar:2.2.0: Could not transfer arti fact junit:junit:jar:4.8.2 from/to apache.snapshots.https (https://repository.ap ache.org/content/repositories/snapshots): Connect to repository.apache.org:443 [ repository.apache.org/140.211.11.112] failed: Connection timed out: connect -> [ Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit ch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please rea d the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyReso lutionException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <goals> -rf :hadoop-nfs 明明写命令的位置正确啊。求大神帮助啊。 |
执行第二个命令总是出错,写命令的位置对着了,也出错
楼主好人啊 |
成功,虽然有一些缺少jar错误,但是不妨碍阅读,感谢楼主!!! |
不错,学习了 |
学习学习 |