我在 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.2sonarQube 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/