scala、mavan的构建失败

rn0zuynd  于 2021-07-09  发布在  Spark
关注(0)|答案(0)|浏览(260)

我试图在intellij中构建这个项目,但是我遇到了以下错误:我试图更改版本,并在插件中添加其他参数,但是没有得到任何帮助。
下面是我得到的错误:

[INFO] Total time: 29.007 s
[INFO] Finished at: 2021-03-25T20:25:34+05:30
[INFO] Final Memory: 16M/44M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal net.alchim31.maven:scala-maven-plugin:3.2.0:compile (default) on project deployment_process: wrap: org.apache.commons.exec.ExecuteException: Process exited with an error: -10000 (Exit value: -10000) -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[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 read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

Process finished with exit code 1

nelow是我在构建代码时遇到问题的插件。

<groupId>net.alchim31.maven</groupId>
                <artifactId>scala-maven-plugin</artifactId>
                <version>3.2.0</version>
                <configuration>
                    <scalaCompatVersion>${scala.compat.version}</scalaCompatVersion>
                </configuration>
                <executions>
                    <execution>
                        <goals>
                            <goal>compile</goal>
                            <goal>testCompile</goal>
                        </goals>
                        <configuration>
                            <args>
                                <arg>-dependencyfile</arg>
                                <arg>${project.build.directory}/.scala_dependencies</arg>
                            </args>
                        </configuration>
                    </execution>
                </executions>
            </plugin>

请帮帮我。

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题