Sonarqube Analysis org.joda.convert ERROR

无人久伴 提交于 2019-12-19 11:16:23

问题


Why do I get this error:

Class not found: org.joda.convert.ToString

None of my code uses this class (maven-based sonar analysis), and it doesn't seem to affect the analysis. However, I get worried whenever there are "[ERROR]" logs in the output. My exact command is:

mvn org.codehaus.mojo:sonar-maven-plugin:2.6:sonar

I switched to this because someone in another related answer suggested this...


回答1:


This error message is logged by the analyzer whenever it tries to complete a symbol during semantic analysis and cannot find a .class file.

This will happen wether your classes are using this class directly or transitively (via a dependence, or a dependence of a dependence, etc.). This is arguably an error per say in all cases but this is an important information for users to know because lacking some classes can lead to incomplete results (some issues might not be raised because symbols won't be resolved).



来源:https://stackoverflow.com/questions/35144369/sonarqube-analysis-org-joda-convert-error

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!