apache无法执行目标组织。科德豪斯。mojo:execmavenplugin:1.2.1:java
我正试图执行一个Maven项目,但当我执行时,我收到了以下消息:
Caused by: org.apache.maven.plugin.MojoExecutionException: An exception occured while executing the Java class. null
at org.codehaus.mojo.exec.ExecJavaMojo.execute(ExecJavaMojo.java:352)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
... 19 more
这是我对Mojo插件的依赖:
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>1.2.1</version>
<executions>
<execution>
<goals>
<goal>java</goal>
</goals>
</execution>
</executions>
<configuration>
<mainClass>HiveClient</mainClass>
</configuration>
</plugin>
</plugins>
我不知道我是否需要更多的房产,你能帮我吗?谢谢!
共 (0) 个答案