问题:在eclipse中执行clean install -DskipTests时,报 …maven-checkstyle-plugin:2.17:check (check-license) on project错误,Could not find artifact com.sun:tools:jar:1.7.0 at specified path … (后面路径为Java安装路径下jre的路径)
进入在eclipse下 Window–>Preferences–>Java–>Installed JRES
配置路径选择为jdk,而不是jre。默认是jre