我现在想把hadoop源码导入到idea中,但是不知道命令是什么了,只知道导入eclipse命令是:mvn eclipse:eclipse-DskipTests,谢谢了

我现在想把hadoop源码导入到idea中,但是不知道命令是什么了,只知道导入eclipse命令是:mvn eclipse:eclipse-DskipTests,谢谢了
已邀请:

fish - Hadooper

mvn idea:idea
按照老师的方式运行还是报错,具体错误如下:
------------------------------------------------------------------------
Failed to execute goal org.apache.maven.plugins:maven-idea-plugin:2.2.1:idea (default-cli) on project hadoop-distcp: Execution default-cli of goal org.apache.maven.plugins:maven-idea-plugin:2.2.1:idea failed. NullPointerException ->

To see the full stack trace of the errors, re-run Maven with the -e switch.
Re-run Maven using the -X switch to enable full debug logging.

For more information about the errors and possible solutions, please read the following articles:
http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException

After correcting the problems, you can resume the build with the command
  mvn -rf :hadoop-distcp

1476156936444.png


 

mopishv0 - 高级开发工程师@美团

按照提示,-e -X 看看debug日志吧

要回复问题请先登录注册