今天给IDEA安装SonarLint插件时,安装完成后运行就报错:SonarLint analysis failed: No files nor directories matching 'm2\repository\xxx'
找了一圈都没看到相似的错误,有没有大神遇到过呀?(报错的jar是同事封装的)
今天给IDEA安装SonarLint插件时,安装完成后运行就报错:SonarLint analysis failed: No files nor directories matching 'm2\repository\xxx'
找了一圈都没看到相似的错误,有没有大神遇到过呀?(报错的jar是同事封装的)
这个问题可能是由于你的本地maven仓库中缺少了一些依赖导致的。你可以尝试在IDEA中打开File->Settings->Build, Execution, Deployment->Build Tools->Maven->Repositories,然后点击Update按钮更新你的本地maven仓库。
如果还是不行,你可以尝试在IDEA中打开File->Settings->Build, Execution, Deployment->Build Tools->Maven->Importing,然后将Automatically download选项设置为Sources或者Sources and documentation,然后再次尝试运行SonarLint插件。
还有不会的可以参考一下下面的文章:
https://www.cnblogs.com/varchar-pig/p/14224634.html
https://www.cnblogs.com/cocoxu1992/p/11336723.html