Facing issue in starting sonarqube server (local host) while using JGit in custom rule development

  • What language are you writing rules for? - Java
  • What have you tried, and what’s your challenge / stumbling block - Implemented the rule successfully. But facing issue in starting the server after deploying the custom rule plugin.

What’s the rule about : I have implemented a rule that will check the number of lines modified by comparing two branches. In addition to these, I exclude some lines (commands, commented lines, empty lines, etc… ). I achieved this using Jgit . But when I add the dependency for jgit in pom.xml, I’m facing issue in server start up .

Can anyone help me on this. Thanks in advance .

Hi,

Log screenshots are hard to read. Can you copy/paste the text of the log, please?

 
Thx,
Ann

1 Like

It was an issue in including dependency. Issue resolved after excluding manifest file.

Thanks for your time @ganncamp

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.