SonarQube Enterprise 2026.2 with sonar-groovy-plugin-1.8.jar failed to start

Try to start SonarQube enterprise 2.1 with sonar-groovy-plugin-1.8.jar and got error below:

java.lang.IllegalStateException: Fail to load plugin Groovy \[groovy\]
    at org.sonar.server.plugins.ServerExtensionInstaller.installExtensions(ServerExtensionInstaller.java:81)
    at org.sonar.server.platform.platformlevel.PlatformLevel4.configureLevel(PlatformLevel4.java:805)
    at org.sonar.server.platform.platformlevel.PlatformLevel.configure(PlatformLevel.java:70)
    at org.sonar.server.platform.PlatformImpl.start(PlatformImpl.java:247)
    at org.sonar.server.platform.PlatformImpl.startLevel34Containers(PlatformImpl.java:231)
    at org.sonar.server.platform.PlatformImpl$AutoStarterRunnable.runIfNotAborted(PlatformImpl.java:398)
    at org.sonar.server.platform.PlatformImpl$1.doRun(PlatformImpl.java:122)
    at org.sonar.server.platform.PlatformImpl$AutoStarterRunnable.run(PlatformImpl.java:382)
    at java.base/java.lang.Thread.run(Thread.java:1583)
Caused by: org.springframework.beans.factory.support.BeanDefinitionOverrideException: Invalid bean definition with name 'jdk.internal.loader.ClassLoaders$AppClassLoader@70dea4e-org.sonar.api.config.PropertyDefinition-sonar.groovy.file.suffixes' defined in null: Cannot register bean definition \[Generic bean: class=org.sonar.api.config.PropertyDefinition; scope=singleton; abstract=false; lazyInit=null; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; fallback=false; factoryBeanName=null; factoryMethodName=null; initMethodNames=null; destroyMethodNames=null\] for bean 'jdk.internal.loader.ClassLoaders$AppClassLoader@70dea4e-org.sonar.api.config.PropertyDefinition-sonar.groovy.file.suffixes' since there is already \[Generic bean: class=org.sonar.api.config.PropertyDefinition; scope=singleton; abstract=false; lazyInit=null; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; fallback=false; factoryBeanName=null; factoryMethodName=null; initMethodNames=null; destroyMethodNames=null\] bound.

Could you please let us know what cause the sonar.groovy.file.suffixes issue?

thanks very much

Hi,

Are you trying to load the 3rd-party Groovy plugin into SonarQube Server 2026.2? There’s native support for Groovy now. You don’t need the plugin.

The error message is terrible and unreadable, but it’s caused by the conflict between the plugin and the native support.

 
HTH,
Ann