gpt4 book ai didi

java - 由于分析错误,Sonarlint 未处理文件

转载 作者:行者123 更新时间:2023-12-01 19:28:35 26 4
gpt4 key购买 nike

尝试在 SonarLint 中处理文件时出现以下错误

"File won't be refreshed because there were errors during analysis:"

Unfortunately SonarLint does not report which errors it is encountering. I set sonar.log.level to DEBUG and sonar.verbose to true.

我的项目构建得很好并且单元测试运行。我正在运行 SonarLint 2.10.0.1922 版本和 IntelliJ 2017.1.4 版本。我在 JDK 1.8.121 和 JDK 1.8.131 上尝试过,但得到了相同的结果。

有什么方法可以检索错误是什么?我是否缺少日志记录参数的某些内容?

最佳答案

可能的解决方案:

https://community.sonarsource.com/t/sonarlint-error-during-analysis-with-latest-intellij-and-remote-sonarqube-server/13440/7

另一个解决方案是将服务器上的SonarJava升级到5.8以上的版本

关于java - 由于分析错误,Sonarlint 未处理文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44501228/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com