Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/maven/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
为什么在idea maven项目窗口中生成错误,而在idea终端中通过相同的命令生成成功_Maven_Intellij Idea_Clojure - Fatal编程技术网

为什么在idea maven项目窗口中生成错误,而在idea终端中通过相同的命令生成成功

为什么在idea maven项目窗口中生成错误,而在idea终端中通过相同的命令生成成功,maven,intellij-idea,clojure,Maven,Intellij Idea,Clojure,我想在storm-1.1.1中构建storm starter。为此,我使用intellij ic 2017.2,单击“maven项目”窗口中的storm starter/lifecycle/package。实际上,ide执行以下命令: /opt/java/jdk1.8.0_121/bin/java -Dmaven.multiModuleProjectDirectory=/home/wxh/opensource/storm/examples/storm-starter -DarchetypeCat

我想在storm-1.1.1中构建storm starter。为此,我使用intellij ic 2017.2,单击“maven项目”窗口中的storm starter/lifecycle/package。实际上,ide执行以下命令:

/opt/java/jdk1.8.0_121/bin/java -Dmaven.multiModuleProjectDirectory=/home/wxh/opensource/storm/examples/storm-starter -DarchetypeCatalog=internal -Dmaven.home=/opt/maven3.5.0 -Dclassworlds.conf=/opt/maven3.5.0/bin/m2.conf -javaagent:/opt/ideaic171/lib/idea_rt.jar=45019:/opt/ideaic171/bin -Dfile.encoding=UTF-8 -classpath /opt/maven3.5.0/boot/plexus-classworlds-2.5.2.jar org.codehaus.classworlds.Launcher -Didea.version=2017.2.5 --errors -s /home/wxh/.m2/settings.xml -Dmaven.repo.local=/home/wxh/repo/mvnrepo -DskipTests=true clean package -P intellij
在wile之后,我们可以在异常消息下看到:

但是,如果我将同一个命令复制到idea终端并执行该命令,则构建过程是成功的

我能为这个问题做些什么