Error: No qualifying bean of type 'io.ecocode.csharp.CSharpConfiguration'

Hello,

I’m facing with an error while running the SonarQube plugin on IntelliJ.
Here is the stack trace of the error:

Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type ‘io.ecocode.csharp.CSharpConfiguration’ available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {}
at org.springframework.beans.factory.support.DefaultListableBeanFactory.raiseNoMatchingBeanFound(DefaultListableBeanFactory.java:2144)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1594).

Running environment:

  • IntelliJ: version 2024.3.2.2, built #IU-243.23654.189
  • SonarQube for IDE plugin: version 10.19.0.80823.

Thanks for your help!

Hello @nio, this issue concerns the custom SonarQube plugin Creedengo C#. It seems that there’s a compatibility issue with SonarQube for IDE; it has already been reported here and here.

To ensure this plugin is on your SonarQube instance, you can check the following endpoint: <your-instance>/api/plugins/installed.

I recommend directly checking with them about this problem. As a workaround, you can also disable this plugin on your SonarQube instance, if that’s a possibility for you.

Hello Nicolas,

I’ll check with them. Thank you. :folded_hands: