Error with Gradle Build SonarQube Plugin Registering Findbugs Plugin

How to Fix the Error: Unable to register extension org.sonar.plugins.findbugs.FindbugsConfiguration when Running Gradle sonarqube task

Using Gradle, Sonarqube and Findbugs you may get the following error when you try to execute the command:

./gradlew clean build sonarqube

Here is the error:

FAILURE: Build failed with an exception.
* What went wrong:Execution failed for task ':sonarqube'.> Unable to register extension org.sonar.plugins.findbugs.FindbugsConfiguration
* Try:Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

Root Cause

This bug seems to occur when there is a mismatch of versions that don't play nice together.

For instance here are the versions of our stack:

  • Sonar Version: 5.3
  • SonarQube Gradle Plugin:  2.0.1

Update Findbugs plugin on Sonar:

First, we had to update our Sonar server:

Navigate to the Update Center
Navigate to the Sonar Update Center to update the findbugs plugin
Navigate to the Sonar Update Center

Update the findbugs plugin and restart the sonar instance
Update findbugs plugin and restart sonar
Update findbugs plugin

Update your Gradle Dependencies:

Update the sonarqube Gradle Plugin

Update sonarqube dependency

dependencies {
     classpath "org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:2.1-rc1"

Update sonar version
sonarqube {

Update sonar-findbugs-plugin

dependencies {
     compile: '', name: 'sonar-findbugs-plugin', version: '3.2'

Update Findbugs

Update findbugs dependency
dependencies {
     compile: '', name: 'findbugs', version: '3.0.1'

Update Findbugs version
findbugs {
     toolVersion = "3.0.1"
     ignoreFailures = true
     sourceSets = [ project.sourceSets.main ]


  1. Thanks for sharing this information with us and it was a nice blog.
    AWS Cloud Support in Delhi

  2. Sora paper premium blogger template jiska price 10 $ hai lekin mein aap sabhi ko free mein de raha hu kyuki mein nhi chahta newbie blogger ko koi pareshani ho jo mujhe huyi thi or crack theme apne blogger se hata do warna rank karne mein bohot mushkil hoga maine bhi hata diya hai ye wala theme use karo AMP version hai or bohot Fast hai

    Sorapaperpremiumbloggertemplate and please put my premium template links in your article

  3. Very interesting blog. Many blogs I see these days do not really provide anything that attracts others, but believe me the way you interact is literally awesome.You can also check my articles as well.

    Security Guard License
    Ontario Security License
    Security License Ontario
    Security License

    Thank you..

  4. IEEE Final Year Project centers make amazing deep learning final year projects ideas for final year students Final Year Projects for CSE to training and develop their deep learning experience and talents.

    IEEE Final Year projects Project Centers in India are consistently sought after. Final Year Students Projects take a shot at them to improve their aptitudes, while specialists like the enjoyment in interfering with innovation.

    corporate training in chennai corporate training in chennai

    corporate training companies in india corporate training companies in india

    corporate training companies in chennai corporate training companies in chennai

    I have read your blog its very attractive and impressive. I like it your blog. Digital Marketing Company in Chennai

  5. Thanks for sharing this information. Keep share more and more article. ICV Certificate

  6. Best Software Training Institute in Delhi Madrid Software offers strategic training paths for the certification skills required to support today's technologies, while offering a Business Analytic course, Data science courses in Delhi, Career in AI and Digital Marketing Course in Delhi for clients looking to implement new/upgraded business applications.

  7. Короткие стрижки — это смелый шаг для каждой девушки. Поэтому к их выбору нужно подходить со всей ответственностью, а мы в этом постараемся вам помочь.

  8. Diligent Security is a leading security company in Canada that provides top-notch security services and guard training. Safety & peace of mind.

    security services
    security guard license ontario
    ontario security guard license

  9. List with Confidence Real Estate Company all of our agents are long time locals and experts in the local real estate market. Find out about them here.

    sell your home in Toronto
    home buyer in Toronto

  10. Diesel Brothers offer different types of services, Truck and Trailer , Reefer, Truck Alignment, Roadside Assistance, and APU.

    Tire repair near me
    Gas near me

  11. This very informative and interesting blog. I have read many blog in days but your writing style is very unique and understanding. If you have read my articles then click below.

    website designer near me
    hotel seo services


Post a Comment

Popular posts from this blog

Change Port on a Spring Boot Application when using intelliJ

How to set up a SQL Server 2008 Local Database

Add Guava Cache to Spring Boot to Cache Method Calls