Hi all,
I try to deploy a plugin on 6.2 and I always get the following error message:
java.lang.NoClassDefFoundError: com/google/common/collect/Iterables
at org.sonar.squidbridge.annotations.AnnotationBasedRulesDefinition.addRuleClasses(AnnotationBasedRulesDefinition.java:90)
at org.sonar.squidbridge.annotations.AnnotationBasedRulesDefinition.addRuleClasses(AnnotationBasedRulesDefinition.java:86)
at org.sonar.squidbridge.annotations.AnnotationBasedRulesDefinition.load(AnnotationBasedRulesDefinition.java:75)
at org.sonar.plugins.coffeelint.CoffeelintRulesDefinition.define(CoffeelintRulesDefinition.java:13)
at org.sonar.server.rule.RuleDefinitionsLoader.load(RuleDefinitionsLoader.java:52)
at org.sonar.server.rule.RegisterRules.start(RegisterRules.java:99)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
public class CoffeelintRulesDefinition implements RulesDefinition {
@Override
public void define(Context context) {
NewRepository repository = context.createRepository(Coffee.KEY, Coffee.KEY).setName(CoffeelintCheckList.REPOSITORY_NAME);
AnnotationBasedRulesDefinition.load(repository, Coffee.KEY, CoffeelintCheckList.getChecks());
repository.done();
}
}
--
You received this message because you are subscribed to the Google Groups "SonarQube" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonarqube+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sonarqube/b225c600-a614-4984-b202-b0d3c6069947%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.