作者热门文章
- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我正在尝试安装 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/
我正在尝试安装 mutect,并且按照 README.md 中的指示,我已经 git 克隆了 gatk-protected 并尝试执行“mvn -Ddisable.queue install”。但我遇
我是一名优秀的程序员,十分优秀!