gpt4 book ai didi

java - MuTect安装: GATK-protected: maven: Java-compile-error

转载 作者:行者123 更新时间:2023-12-02 04:22:26 25 4
gpt4 key购买 nike

我正在尝试安装 mutect,并且按照 README.md 中的指示,我已经 git 克隆了 gatk-protected 并尝试执行“mvn -Ddisable.queue install”。但我遇到以下问题。我有 java 1.7 和 maven 3.3.3。

     1.[INFO] -------------------------------------------------------------
2.[ERROR] COMPILATION ERROR :
3.[INFO] -------------------------------------------------------------
4.[ERROR] /home/krb/.../annotator/interfaces/AnnotationInterfaceManager.java:[129,24] no suitable method found for add(java.lang.Object)
5.method java.util.Collection.add(T) is not applicable
6. (argument mismatch; java.lang.Object cannot be converted to T)
7.method java.util.List.add(T) is not applicable
8. (argument mismatch; java.lang.Object cannot be converted to T)
9.[INFO] 1 error
10.[INFO] -------------------------------------------------------------
11.[INFO] ------------------------------------------------------------------------
12.[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (compile-java) on project gatk-framework: Compilation failure
13.[ERROR] /home/krb/.../annotator/interfaces/AnnotationInterfaceManager.java:[129,24] no suitable method found for add(java.lang.Object)
14.[ERROR] method java.util.Collection.add(T) is not applicable
15.[ERROR] (argument mismatch; java.lang.Object cannot be converted to T)
16.[ERROR] method java.util.List.add(T) is not applicable
17.[ERROR] (argument mismatch; java.lang.Object cannot be converted to T)
18.[ERROR] -> [Help 1]
19.org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (compile-java) on project gatk-framework: Compilation failure
20./home/krb/.../annotator/interfaces/AnnotationInterfaceManager.java:[129,24] no suitable method found for add(java.lang.Object)
21.method java.util.Collection.add(T) is not applicable
22. (argument mismatch; java.lang.Object cannot be converted to T)
23.method java.util.List.add(T) is not applicable
24. (argument mismatch; java.lang.Object cannot be converted to T)

我遵循了自述文件 here.有人可以帮忙解决这个问题吗?

最佳答案

在堆栈跟踪中查看这部分:

Caused by: org.apache.maven.plugin.compiler.CompilationFailureException: Compilation failure
/home/krb/Ramani/MUTECT/gatk-protected/public/gatk-framework/src/main/java/org/broadinstitute/sting/gatk/walkers/annotator/interfaces/AnnotationInterfaceManager.java:[129,24] no suitable method found for add(java.lang.Object)
method java.util.Collection.add(T) is not applicable
(argument mismatch; java.lang.Object cannot be converted to T)
method java.util.List.add(T) is not applicable
(argument mismatch; java.lang.Object cannot be converted to T)

Collection.add(T) 无法应用于Object

关于java - MuTect安装: GATK-protected: maven: Java-compile-error,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32604617/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com