Utilizzo STS e plug-in checkware installato. Utilizzando installa il nuovo software con questo URL http://eclipse-cs.sourceforge.net/update.Java - Checkstyle - Thund ridondanti
Ho la mia regola di controllo per il mio progetto Java. Ogni volta che cambio un codice e lo salvi, viene visualizzato il seguente errore.
Errors occurred during the build.
Errors running builder 'Checkstyle Builder' on project 'myproject'.
cannot initialize module TreeWalker - Unable to instantiate RedundantThrows
cannot initialize module TreeWalker - Unable to instantiate RedundantThrows
cannot initialize module TreeWalker - Unable to instantiate RedundantThrows
cannot initialize module TreeWalker - Unable to instantiate RedundantThrows
Questa è la mia regola checkstyle per RedundantThrows
<module name="RedundantThrows">
<property name="logLoadErrors" value="true" />
<property name="suppressLoadErrors" value="true" />
</module>
Come risolvere il problema?
Grazie.
Quindi dovrei rimuovere quel modulo dalla regola checkstyle? Di recente ho creato una nuova istanza di STS e ho installato il plug-in. Prima funzionava perfettamente. – iCode
Ho commentato il modulo ridondanteThrows. Ma sta mostrando di nuovo l'errore. – iCode
Hai provato a eseguire checkstyle dalla riga di comando? Sei sicuro che solo il tuo file di configurazione è stato prelevato e non altri? –