Top "Maven-checkstyle-plugin" questions

Could not find artifact com.sun:tools:jar:0

I'm trying to use checkstyle and findbugs by doing mvn checkstyle:checkstyle but I have this error This error [ERROR] …

java maven checkstyle findbugs maven-checkstyle-plugin
maven-checkstyle-plugin:3.0.0:check: Failed during checkstyle configuration: cannot initialize module StrictDuplicateCode

That's the full error: [ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:3.0.0:check (default) on project abc-123-micro-service: …

java maven checkstyle maven-checkstyle-plugin