【发布时间】:2023-03-31 17:18:01
【问题描述】:
在 sonarqube-4.1.2 中创建新配置文件时遇到问题。这是我做的:
- 我现在有声纳 3.1 rt,它有 461 条规则。备份并保存了包含 checkstyle 规则的规则文件。 pmd 和 findbug。
- 我确实尝试通过单击 4.1.2 中的“创建”来创建新配置文件。它给了我错误
The Findbugs configuration file is not valid : profile : profile [hide] - 我还尝试恢复配置文件,但该配置文件也没有导入正确数量的规则。仅恢复 345 条规则。
在日志中我看到了这个错误:
ERROR [o.s.p.f.FindbugsProfileImporter] The Findbugs configuration file is not valid
com.thoughtworks.xstream.mapper.CannotResolveClassException: profile : profile
at com.thoughtworks.xstream.mapper.DefaultMapper.realClass(DefaultMapper.java:68) ~[xstream-1.3.1.jar:na]
请建议可以做些什么来解决这个问题。
【问题讨论】:
标签: sonarqube