我卸载了"违规过滤器"在此升级尝试之前,但无济于事:(
看起来数据库中仍然存在阻止更新的ViolationFilter部分,并且未通过卸载插件来禁用或删除。没有安装标记与5.1.x不兼容的插件
我尝试从5.0.1升级到5.1.1
2015.06.15 08:50:36 INFO web[DbMigration] == AddUuidToAnalysisReports: migrated (0.0960s) ============================== 2015.06.15 08:50:36 INFO web[DbMigration] 2015.06.15 08:50:36 INFO web[o.s.j.s.AbstractDatabaseConnector] Initializing Hibernate 2015.06.15 08:50:38 ERROR web[o.s.s.ui.JRubyFacade] Fail to upgrade database org/sonar/api/rules/ViolationFilter java.lang.ClassLoader.defineClass1(Native Method) java.lang.ClassLoader.defineClass(ClassLoader.java:800) java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
更新:目前已安装这些插件:
PLUGIN | VERSION | DESCRIPTION ------------ | ------- | ---------------------------------------------------------- Checkstyle | 2.3 | Analyze Java code with Checkstyle. Cobertura | 1.6.3 | Get code coverage with Cobertura. fb-contrib | 1.3 | New Findbugs rules (see http://fb-contrib.sourceforge.net) Findbugs | 3.2 | Analyze Java code with Findbugs 3.0.1. Java | 3.3 | SonarQube rule engine. PMD | 2.4.1 | Analyze Java code with PMD. Tab Metrics | 1.4.1 | Add a new tab containing metrics information at file level Widget Lab | 1.6 | Additional widgets
请注意,Widget Lab 1.7版已设置为在5.1.1中加载
答案 0 :(得分:1)
正如Simon所指出的,fb-contrib插件与最新版本的SonarQube不兼容,因此应将其删除。
为了您的信息,fb-contrib现在与Findbugs plugin打包在一起。