在带有SonarQube 5.6.6的Eclipse中使用Sonarlint3.2。
我已经成功地将Eclipse中的项目绑定到SonarQube。然而,索纳林特没有报告任何问题,而问题在SonarQube中报告。我没有成功地解决这个错误。
下面是日志文件(为了可读性进行了一些编辑...)索纳林特控制台。令我惊讶的是“没有语言可用”和“没有安装分析器”的消息。
Sonarlint独立给出了预期的结果。连接到SonarQube的模式出现0问题。
Trigger: EDITOR_OPEN
SonarLint analysis of file xxx.java...
Connected mode (using configuration of 'xxx' in server 'xxx')
Starting analysis with configuration:
[
moduleKey: xxx
baseDir: xxx
workDir: C:\Werkomgeving\.metadata\.plugins\org.eclipse.core.resources\.projects\LWBBusinessRules\org.sonarlint.eclipse.core
extraProperties: {sonar.java.source=1.6, sonar.java.target=1.6, sonar.libraries=yyyyy, sonar.binaries=C:xxx, sonar.java.binaries=C:xxx, sonar.java.test.binaries=C:xxx}
inputFiles: [
xxx.java
]
]
No language available
No analyzers installed
Start analysis
Quality profiles:
Index files
Setting filesystem encoding: UTF-8
1 files indexed
Found 0 issue(s)
Done in 23 ms发布于 2017-11-16 21:54:06
SonarLint 3.2与服务器5.6.6版本不兼容。我们不得不恢复到2.5.1版本的SonarLint。在我们这样做之后,我们看到了来自SonarLint本身和服务器的问题。
在我们的情况下,升级服务器是不可能的。
https://stackoverflow.com/questions/46791187
复制相似问题