执行mvn verify sonar:sonar时SonarCloud报500错误求助
mvn clean verify sonar:sonar I'm hitting a 500 error when running mvn clean verify sonar:sonar for my project, which used to work without issues. Here's the full error output from Maven:
Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.4.0.905:sonar, reason: Unable to load component class org.sonar.scanner.report.MetadataPublisher: Unable to load component class org.sonar.scanner.rule.ModuleQProfiles: Error 500 on https://sonarcloud.io/api/qualityprofiles/search.protobuf?projectKey=LazyDevelopment%3ALister&organization=lazydevelopment-bitbucket : {"errors":[{"msg":"An error has occurred. Please contact your administrator"}]} -> [Help 1]
I've already tried these troubleshooting steps with no luck:
- Hardcoding the Sonar Maven plugin version directly in the command
- Regenerating my SonarCloud account token and committing it only to the current working branch
I also ran the command with the -X flag to enable debug output, but didn't find any actionable details. You can reproduce the issue by checking out the project's current branch or reviewing the failed task in the BitBucket pipeline.
内容的提问来源于stack exchange,提问作者Konstantin

