Java Maven-无法执行目标

Java Maven-无法执行目标,java,maven,slf4j,flume,Java,Maven,Slf4j,Flume,我试图从这个源代码构建maven包 但是,当我使用mvn clean package构建它时,我得到了如下错误: 我认为maven在这种情况下使用了错误的slf4j记录器。 但是,我真的不知道如何解决这个问题。 有人能帮忙吗?谢谢 考虑在上打开一个问题,因为它是免费软件。给你。 [ERROR] /home/vincentius/Documents/flume-load-gen-master/src/main/java/org/apache/flume/tcphammer/Hammer.java

我试图从这个源代码构建maven包
但是,当我使用
mvn clean package
构建它时,我得到了如下错误:

我认为maven在这种情况下使用了错误的slf4j记录器。 但是,我真的不知道如何解决这个问题。
有人能帮忙吗?谢谢

考虑在上打开一个问题,因为它是免费软件。

给你。
[ERROR] /home/vincentius/Documents/flume-load-gen-master/src/main/java/org/apache/flume/tcphammer/Hammer.java:[67,12] error: no suitable method found for info(String,String,int)
[ERROR] 
[ERROR] method Logger.info(Marker,String,Throwable) is not applicable
[ERROR] (actual argument String cannot be converted to Marker by method invocation conversion)
[ERROR] method Logger.info(Marker,String,Object[]) is not applicable
[ERROR] (actual argument String cannot be converted to Marker by method invocation conversion)
[ERROR] method Logger.info(Marker,String,Object,Object) is not applicable
[ERROR] (actual and formal argument lists differ in length)
[ERROR] method Logger.info(Marker,String,Object) is not applicable
[ERROR] (actual argument String cannot be converted to Marker by method invocation conversion)
[ERROR] method Logger.info(Marker,String) is not applicable
[ERROR] (actual and formal argument lists differ in length)
[ERROR] method Logger.info(String,Throwable) is not applicable
[ERROR] (actual and formal argument lists differ in length)
[ERROR] method Logger.info(String,Object[]) is not applicable
[ERROR] (actual and formal argument lists differ in length)
[ERROR] method Logger.info(String,Object,Object) is not applicable
[ERROR] (actual argument int cannot be converted to Object by method invocation conversion)
[ERROR] method Logger.info(String,Object) is not applicable
[ERROR] (actual and formal argument lists differ in length)
[ERROR] method Logger.info(String) is not applicable
[ERROR] (actual and formal argument lists differ in length)
[ERROR] /home/vincentius/Documents/flume-load-gen-master/src/main/java/org/apache/flume/tcphammer/Hammer.java:[137,25] error: incompatible types
[ERROR] 
[ERROR] could not parse error message:   required: Object
[ERROR] found:    long
[ERROR] /home/vincentius/Documents/flume-load-gen-master/src/main/java/org/apache/flume/tcphammer/Hammer.java:138: error: incompatible types
[ERROR] curLogIntervalNanosSlept / 1000000,
[ERROR] ^
[ERROR] 
[ERROR] could not parse error message:   required: Object
[ERROR] found:    long
[ERROR] /home/vincentius/Documents/flume-load-gen-master/src/main/java/org/apache/flume/tcphammer/Hammer.java:139: error: cannot find symbol
[ERROR] String.format("%.2f", (100 * (double) curLogIntervalNanosSlept / (double) logDelta)),
[ERROR] ^
[ERROR] 
[ERROR] could not parse error message:   symbol:   method format(String,double)
[ERROR] location: class String
[ERROR] /home/vincentius/Documents/flume-load-gen-master/src/main/java/org/apache/flume/tcphammer/Hammer.java:140: error: incompatible types
[ERROR] curLogIntervalEventsSent,
[ERROR] ^
[ERROR] 
[ERROR] could not parse error message:   required: Object
[ERROR] found:    long
[ERROR] /home/vincentius/Documents/flume-load-gen-master/src/main/java/org/apache/flume/tcphammer/Hammer.java:141: error: cannot find symbol
[ERROR] String.format("%.2f", (double) curLogIntervalEventsSent / ((double) logDelta / 1000000000D)),
[ERROR] ^
[ERROR] 
[ERROR] could not parse error message:   symbol:   method format(String,double)
[ERROR] location: class String
[ERROR] /home/vincentius/Documents/flume-load-gen-master/src/main/java/org/apache/flume/tcphammer/Hammer.java:142: error: incompatible types
[ERROR] eventCount,
[ERROR] ^
[ERROR] -> [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/MojoFailureException