hadoop windows org.codehaus.mojo:exec-maven-plugin [英] hadoop windows org.codehaus.mojo:exec-maven-plugin
本文介绍了hadoop windows org.codehaus.mojo:exec-maven-plugin的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我遵循本指南: https://wiki.apache.org/hadoop/Hadoop2OnWindows
但是当我必须执行这一行时:
mvn package -Pdist,native-win -DskipTests -Dtar
我有这个错误:
[错误]无法执行目标org.codehaus.mojo:exec-maven-plugin:1.2:exec(compile-ms-winutils)关于项目hadoop-common:命令执行失败。进程退出并出现错误:1(退出值:1) - > [帮助1] [错误] [错误]要查看错误的完整堆栈跟踪,请使用-e开关重新运行Maven [错误]使用-X开关重新运行Maven以启用完整的调试日志记录[错误] [错误]有关错误和可能的解决方案的更多信息,请阅读以下文章:[错误] [帮助1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
我已阅读此文在Windows上创建hadoop 2.2
,但我无法理解如何解决。
预先感谢您的帮助。
Alex
解决方案
您从Windows SDK命令提示符运行该命令,对吗?查看最近撰写的本指南,并确保您安装了适当的工具。
I am trying to install hadoop on my windows machine. I am following this guide: https://wiki.apache.org/hadoop/Hadoop2OnWindows but when I have to execute this line:
mvn package -Pdist,native-win -DskipTests -Dtar
I have this error:
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2:exec (com
pile-ms-winutils) on project hadoop-common: Command execution failed. Process ex
ited with an error: 1(Exit value: 1) -> [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
I already read this post build hadoop 2.2 on windows but I am not able to understand how to solve.
Thank you in advance for your help.
Alex
解决方案
You ran that command from a Windows SDK Command Prompt, right? Taking a look at this guide I wrote recently and make sure you have the proper tools installed.
这篇关于hadoop windows org.codehaus.mojo:exec-maven-plugin的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文