0
回答
SONAR的C++代码检查报错,求拯救

配置:
sonar.projectKey=my:project

sonar.projectName=My project2
sonar.projectVersion=1.0.0
sonar.sources=src

sonar.sourceEncoding=UTF-8

sonar.cxx.cppcheck.reportPath=cppcheck-result-1.xml
sonar.cxx.includeDirectories=/usr/include/

sonar.language=c++


错误:

INFO: JaCoCoSensor: JaCoCo report not found : /home/lizhongxiang/test_code/gtest-1.7.0/target/jacoco.exec

INFO: JaCoCoItSensor: JaCoCo IT report not found: /home/lizhongxiang/test_code/gtest-1.7.0/target/jacoco-it.exec
INFO: Sensor Lines Sensor
INFO: Sensor Lines Sensor (done) | time=17ms
INFO: Sensor CxxSquidSensor

Exception in thread "main" java.lang.NoSuchMethodError: com.google.common.collect.ImmutableList.copyOf(Ljava/util/Collection;)Lcom/google/common/collect/ImmutableList;

python,java都没问题,C++不行。此外sslr-cxx-toolkit-0.9.6.jar这个包需要放在那里?

举报
流星ooxx
发帖于1年前 0回/291阅
顶部