简体   繁体   English

SonarLint(IntelliJ Idea)无法更新绑定:最低要求的版本错误

[英]SonarLint (IntelliJ Idea) failing to update binding: Minimum required version error

I haven't been able to update SonarLint's rules from the organization's SonarQube Server for a while now. 我暂时无法从组织的SonarQube服务器更新SonarLint的规则。 It was working perfectly, but suddenly I started to get the following message: 它运行正常,但是突然我开始收到以下消息: 更新绑定错误:版本错误

I'm guessing that maybe the SonarQube server was updated to a newer version (currently it is Version 5.6), but how do I upgrade my local plugin version to match it? 我猜想SonarQube服务器可能已更新到新版本(当前是5.6版),但是如何升级本地插件版本以匹配它? (if that was what this error means). (如果这是此错误的意思)。
I waited for the plugin to release another update (v2.9) and hoped that would do the trick, but it didn't, same result. 我等待插件发布另一个更新(v2.9),并希望能解决问题,但结果不一样。

I found this page, where it says that for SonarQube 5.6+, I should be using the most recent SonarJava 4.7.1 plugin, but don't know how to say my SonarLint plugin (version 2.9.0.1816) to use that. 我在此页面上找到,上面写着,对于SonarQube 5.6+,我应该使用最新的SonarJava 4.7.1插件,但不知道该怎么说我的SonarLint插件(版本2.9.0.1816)来使用它。 https://docs.sonarqube.org/display/PLUG/SonarJava https://docs.sonarqube.org/display/PLUG/SonarJava

I would appreciate any help, thanks! 我将不胜感激,谢谢!

Current environment: 当前环境:
SonarQube Server: 5.6 SonarQube服务器:5.6
IntelliJ Idea: 2017.1 IntelliJ理念:2017.1
IntelliJ SonarLint: 2.9.0.1816 IntelliJ SonarLint:2.9.0.1816

You're using the SonarLint Connected Mode , so the code analyzers (SonarQube Plugins) used are the ones installed on the SonarQube server. 您正在使用SonarLint Connected Mode ,因此使用的代码分析器(SonarQube插件)是SonarQube服务器上安装的代码分析器。 The error message here means that, on the SonarQube server , you must upgrade SonarJava to at least v4.0, and a better choice would actually be the latest version altogether. 这里的错误消息表示, 在SonarQube服务器上 ,您必须将SonarJava至少升级到v4.0,更好的选择实际上是完全使用最新版本

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM