无法执行目标org.codehaus.mojo:exec maven插件:1.2.1:java
我正在尝试执行Maven项目,但当我执行时,我收到以下消息:无法执行目标org.codehaus.mojo:exec maven插件:1.2.1:java,java,apache,maven,Java,Apache,Maven,我正在尝试执行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.Defau
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>
org.codehaus.mojo
execmaven插件
1.2.1
爪哇
HiveClient
我不知道我是否需要更多的财产,你能帮我吗?谢谢你你到底想做什么?