简体   繁体   English

如何将SonarLint与Intellij集成

[英]How to integrate SonarLint with Intellij

I am trying to run Solar Lint with Intellij, when I configure the SonarQube server in the plug-in and "Test Connection" 在插件和“测试连接”中配置SonarQube服务器时,我尝试使用Intellij运行Solar Lint。

I keep getting the following error message: 我不断收到以下错误消息:

The following plugins do not meet the required minimum versions, please upgrade them: java (installed: 3.7, minimum: 3.8) 以下插件不符合所需的最低版本,请升级它们:Java(已安装:3.7,最低:3.8)

I do not fully understand what this means and I would really appreciate any help on this. 我不完全理解这意味着什么,对此我将不胜感激。

PS I cannot upgrade the Java Plugin on the sonar server if that is the only solution to this problem because I have no access to the server administration capabilities. PS,如果这是解决此问题的唯一方法,则我无法升级声纳服务器上的Java插件,因为我无法访问服务器管理功能。

The message is clear enough and you understood it well: when you want to connect SonarLint to a SonarQube server, there are some constraints on the language plugins that are installed on this server. 消息很清楚,您也很理解:要将SonarLint连接到SonarQube服务器时,此服务器上安装的语言插件受到一些限制。

In your case, the version of the SonarQube Java plugin is 3.7 whereas only versions above 3.8 are supported in the connected mode. 在您的情况下,SonarQube Java插件的版本为3.7,而在连接模式下仅支持3.8以上的版本。

If you don't have administration permissions, there's nothing you can do about it. 如果您没有管理权限,那么您将无能为力。 You have to stay in the default mode - ie no connection to the server, until the SonarQube instance gets updated. 您必须保持默认模式-即没有连接到服务器,直到SonarQube实例得到更新。

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

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