jenkins - “Class Not Found” 在 SonarQube 分析期间

标签 jenkins sonarqube sonarqube5.1.2

我在 Jenkins 工作中使用 sonarqube 分析有很多错误,分析成功

[ERROR] [14:36:44.124] Class not found: org.joda.convert.FromString
[ERROR] [14:36:44.126] Class not found: org.joda.convert.ToString
[ERROR] [14:34:42.441] Class not found: org.apache.commons.logging.Log
[ERROR] [14:34:42.724] Class not found: org.apache.oro.text.perl.Perl5Util
[ERROR] [14:34:31.442] Class not found: io.swagger.annotations.ApiModel
[ERROR] [14:34:31.442] Class not found: io.swagger.annotations.ApiModelProperty
[ERROR] [14:28:37.756] Class not found: org.apache.commons.logging.Log
[ERROR] [14:28:40.030] Class not found: org.apache.oro.text.perl.Perl5Util
SonarQube:5.1.2
sonarQube jenkins 插件:2.6
JDK:1.7
请任何帮助
谢谢

最佳答案

将以下依赖项添加到您的 pom

<dependency>
    <groupId>org.joda</groupId>
    <artifactId>joda-convert</artifactId>
    <version>1.8.1</version>
    <scope>provided</scope>
</dependency>

关于jenkins - “Class Not Found” 在 SonarQube 分析期间,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32355221/

相关文章:

jenkins - 如何让 tqdm 与 jenkins 配合良好?

java - 考虑将 JaCoCo 与 Maven 和 Jenkins 一起使用

ios - Jenkins 与 Git 和 XCode : cannot pull sub-sub-module?

java - sonar-maven-plugin: 无法设置 sonar.sources src/main/resources

SonarQube 3.7鱿鱼规则存储库

SonarQube 4.0 的 Eclipse 插件未找到已配置的项目或创建新项目

maven - 如何在 SonarQube 中使用增量模式?

Jenkins 电子邮件配置