Last Updated: September 09, 2019
·
17.17K
· avgp

Fixing missing language plugin issue in Sonar

When you get

"Can not execute Sonar: You must install a plugin that supports the language XYZ" 

but you have the plugin for the corresponding language installed, you need to create a new Quality profile for that language.
The profile can even be empty, as long as it exists and is assigned to that language.

Login to your Sonar instance, click on "Settings" > "Quality profiles" and "Create" on top of the heading for the language you want to use.

Now running the Sonar-Runner or the Maven-Task will succeed.

3 Responses
Add your response

Thanks so much for this post. After hours of research and trials this solved my problem!

over 1 year ago ·

@eischer good to hear that it helped you, as I needed pretty long to get it figured out as well :)

over 1 year ago ·

I am not a registered Sonar user and cannot find the 'Create' option in 'Quality Profiles'. Is this option reserved for registered users?

I am trying to run an analysis for swift with Backelite plugin. All seems to be set correctly but I'm receiving the "You must install a plugin that supports the language 'swift'" error.

over 1 year ago ·