蚂蚁声纳 - 类未找到错误

时间:2017-04-18 07:58:51

标签: ant sonarqube

使用声纳运行ant时,我发现以下错误。我甚至没有在我的代码上使用这些类。任何想法?

[sonar:sonar] Sensor JavaSquidSensor
[sonar:sonar] Configured Java source version (sonar.java.source): 8
[sonar:sonar] JavaClasspath initialization...
[sonar:sonar] JavaClasspath initialization done: 2603 ms
[sonar:sonar] JavaTestClasspath initialization...
[sonar:sonar] JavaTestClasspath initialization done: 2247 ms
[sonar:sonar] Java Main Files AST scan...
[sonar:sonar] 64 source files to be analyzed
[sonar:sonar] Class not found: javax.annotation.Nullable
[sonar:sonar] Class not found: com.google.errorprone.annotations.CanIgnoreReturnValue
[sonar:sonar] Class not found: com.google.errorprone.annotations.concurrent.LazyInit
[sonar:sonar] Class not found: com.google.j2objc.annotations.RetainedWith
[sonar:sonar] Class not found: javax.annotation.Nullable
[sonar:sonar] Class not found: com.google.errorprone.annotations.CanIgnoreReturnValue
[sonar:sonar] Class not found: com.google.errorprone.annotations.concurrent.LazyInit
[sonar:sonar] Class not found: com.google.j2objc.annotations.RetainedWith
[sonar:sonar] 21/64 files analyzed, current file: xxxx
[sonar:sonar] 63/64 files analyzed, current file: xxxx
[sonar:sonar] Java Main Files AST scan done: 21433 ms
[sonar:sonar] 64/64 source files have been analyzed
[sonar:sonar] Java bytecode scan...
[sonar:sonar] Java bytecode scan done: 464 ms
[sonar:sonar] Java Test Files AST scan...
[sonar:sonar] 7 source files to be analyzed
[sonar:sonar] Java Test Files AST scan done: 1689 ms
[sonar:sonar] 7/7 source files have been analyzed
[sonar:sonar] Package design analysis...
[sonar:sonar] Package design analysis done: 26 ms
[sonar:sonar] Sensor JavaSquidSensor (done) | time=29620ms
[sonar:sonar] Sensor Lines Sensor
[sonar:sonar] Sensor Lines Sensor (done) | time=13ms
[sonar:sonar] Sensor CoberturaSensor

提前谢谢。

1 个答案:

答案 0 :(得分:2)

此调试信息可能与第n级依赖关系有关。这是仅供信息打印的,作为警告,分析可能不尽可能详细,因为这些二进制文件无法用于它。