"Serializable" classes should have a "serialVersionUID" rule not work in PR

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
  • how is SonarQube deployed: zip, Docker, Helm
  • what are you trying to achieve
  • what have you tried so far to achieve this

Do not share screenshots of logs – share the text itself (bonus points for being well-formatted)!

I activated the rule Java static code analysis: "Serializable" classes should have a "serialVersionUID" “Serializable” classes should have a “serialVersionUID” on default quality profile, but when PR scan, it didn’t work with this rule.
Is any limitation about this rule?


Your version is past EOL. You should upgrade to either the latest version or the current LTS at your earliest convenience. Your upgrade path is:

8.9 → 9.9.2 → 10.2.1 (last step optional)

You may find these resources helpful:

If you have questions about upgrading, feel free to open a new thread for that here.

If your issue persists after upgrade, please come back to us.

Is that issue resolved after upgrade?

I don’t know – but we really don’t invest time troubleshooting EOL versions of SonarQube.