Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

添加插件后不光Swift,其他语言的项目源码也无法分析,是我哪里配置错了吗? #24

Open
haobaozhong opened this issue Apr 20, 2022 · 4 comments

Comments

@haobaozhong
Copy link

报错信息如下:
ERROR: Error during SonarScanner execution
java.lang.IllegalStateException: Unable to load components interface org.sonar.api.batch.sensor.Sensor


Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ClassRealm{swift}-com.backelite.sonarqube.commons.surefire.SurefireSensor': Resolution of declared constructors on bean Class [com.backelite.sonarqube.commons.surefire.SurefireSensor] from ClassLoader [ClassRealm{swift}] failed; nested exception is java.lang.NoClassDefFoundError: org/sonar/api/component/ResourcePerspectives

@klone1127
Copy link

同遇到这个问题,换成 SonarQube 8.9.8 LTS (April 2022) 这个版本可以用了,你可以试下

@sydowma
Copy link
Collaborator

sydowma commented Apr 21, 2022

报错信息如下: ERROR: Error during SonarScanner execution java.lang.IllegalStateException: Unable to load components interface org.sonar.api.batch.sensor.Sensor

Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ClassRealm{swift}-com.backelite.sonarqube.commons.surefire.SurefireSensor': Resolution of declared constructors on bean Class [com.backelite.sonarqube.commons.surefire.SurefireSensor] from ClassLoader [ClassRealm{swift}] failed; nested exception is java.lang.NoClassDefFoundError: org/sonar/api/component/ResourcePerspectives

请附带一下SonarQube版本信息,暂不支持9.0以上的版本

@haobaozhong
Copy link
Author

感谢,目前安装的是Community EditionVersion 9.4 (build 54424) 我试下9.0以下的

@sydowma
Copy link
Collaborator

sydowma commented Jul 11, 2022

Please update the latest version of the plugin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants