Not able to run SonarScanner for my Swift Project

  • to setup sonar i have installed sonar-config-plugin-1.2.0.267.jar , [backelite-sonar-swift-plugin-0.4.6.jar], Jdk [jdk-17_macos-x64_bin.dmg]
  • SonarQube deployed: zip
    *while run sonar command in terminal getting SonarQube is stopped, check attach log for this error, what should i have to do to setup and fix error and run sonar for swift project.
    error : Error creating bean with name ‘jdk.internal.loader.ClassLoaders$AppClassLoader@5ffd2b27-org.sonar.server.rule.RegisterRules’: Initialization of bean failed; nested exception is java.lang.NoSuchMethodError: ‘org.sonar.api.server.rule.RulesDefinition$NewRule org.sonar.api.server.rule.RulesDefinition$NewRule.setDebtSubCharacteristic(java.lang.String)’
    Info: Have 30 GB free space in my Mac SSD
    sonarqube docker logs.txt (21.8 KB)

Hey there.

I suggest reaching out to the maintainers of GitHub - Idean/sonar-swift: Open source Swift plugin for SonarQube (also supports Objective-C).

And, you should not try (or need) to install this plugin manually.

sonar-config-plugin-1.2.0.267.jar

@Colin also i have community edition so it will work or not ?