2016-08-04 20 views
0

Ich fahre Projekt-Clean ... in Eclipse Mars und erhalte die folgenden Fehlerkann nicht Modul TreeWalker während der Build-in Eclipse

Errors occurred during the build. 
    Errors running builder 'Checkstyle Builder' on project 'MyProject'. 
     cannot initialize module TreeWalker - Unable to instantiate 
     'RedundantThrows' class, it is also not possible to instantiate it as 
     com.puppycrawl.tools.checkstyle.checks.annotation.RedundantThrows, 
     com.puppycrawl.tools.checkstyle.checks.blocks.RedundantThrows, 
     com.puppycrawl.tools.checkstyle.checks.coding.RedundantThrows, 
     com.puppycrawl.tools.checkstyle.checks.design.RedundantThrows, 
     com.puppycrawl.tools.checkstyle.checks.header.RedundantThrows, 
     com.puppycrawl.tools.checkstyle.checks.imports.RedundantThrows, 
     com.puppycrawl.tools.checkstyle.checks.indentation.RedundantThrows, 
     com.puppycrawl.tools.checkstyle.checks.javadoc.RedundantThrows, 
     com.puppycrawl.tools.checkstyle.checks.metrics.RedundantThrows, 
     com.puppycrawl.tools.checkstyle.checks.modifier.RedundantThrows, 
     com.puppycrawl.tools.checkstyle.checks.naming.RedundantThrows, 
     com.puppycrawl.tools.checkstyle.checks.regexp.RedundantThrows, 
     com.puppycrawl.tools.checkstyle.checks.sizes.RedundantThrows, 
     com.puppycrawl.tools.checkstyle.checks.whitespace.RedundantThrows, 
     com.puppycrawl.tools.checkstyle.checks.RedundantThrows, 
     com.puppycrawl.tools.checkstyle.filters.RedundantThrows, 
     com.puppycrawl.tools.checkstyle.RedundantThrows. Please recheck that class name 
     is specified as canonical name or read how to configure short name usage 
     http://checkstyle.sourceforge.net/config.html#Packages. Please also recheck that 
     provided ClassLoader to Checker is configured correctly. 

Die Check Plugin-Version 6.11 ist initialisieren. Könnten Sie mir bitte helfen, herauszufinden, was diesen Fehler verursachen könnte? Vielen Dank.

Antwort

3

Die RedundantThrows überprüfen Sie von Checkstyle. Entfernen Sie einfach den Eintrag dafür aus Ihrer checkstyle.xml.