Closed jonyangx closed 5 years ago
ERROR] Failed to execute goal net.revelc.code.formatter:formatter-maven-plugin:2.0.1:format (default) on project aviator: Execution default of goal net.revelc.code.formatter:formatter-maven-plugin:2.0.1:format failed: A required class was missing while executing net.revelc.code.formatter:formatter-maven-plugin:2.0.1:format: com/google/common/hash/Hashing [ERROR] ----------------------------------------------------- [ERROR] realm = plugin>net.revelc.code.formatter:formatter-maven-plugin:2.0.1 [ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy [ERROR] urls[0] = file:/Users/apple/.m2/repository/net/revelc/code/formatter/formatter-maven-plugin/2.0.1/formatter-maven-plugin-2.0.1.jar [ERROR] urls[1] = file:/Users/apple/.m2/repository/com/google/guava/guava/20.0/guava-20.0.jar [ERROR] urls[2] = file:/Users/apple/.m2/repository/net/revelc/code/formatter/jdt-core/2.0.1/jdt-core-2.0.1.jar [ERROR] urls[3] = file:/Users/apple/.m2/repository/net/revelc/code/formatter/jsdt-core/2.0.1/jsdt-core-2.0.1.jar [ERROR] urls[4] = file:/Users/apple/.m2/repository/org/apache/commons/commons-digester3/3.2/commons-digester3-3.2.jar [ERROR] urls[5] = file:/Users/apple/.m2/repository/cglib/cglib/2.2.2/cglib-2.2.2.jar [ERROR] urls[6] = file:/Users/apple/.m2/repository/asm/asm/3.3.1/asm-3.3.1.jar [ERROR] urls[7] = file:/Users/apple/.m2/repository/commons-beanutils/commons-beanutils/1.8.3/commons-beanutils-1.8.3.jar [ERROR] urls[8] = file:/Users/apple/.m2/repository/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.jar [ERROR] urls[9] = file:/Users/apple/.m2/repository/org/apache/maven/plugin-tools/maven-plugin-annotations/3.5/maven-plugin-annotations-3.5.jar [ERROR] urls[10] = file:/Users/apple/.m2/repository/org/codehaus/plexus/plexus-io/2.7.1/plexus-io-2.7.1.jar [ERROR] urls[11] = file:/Users/apple/.m2/repository/commons-io/commons-io/2.2/commons-io-2.2.jar [ERROR] urls[12] = file:/Users/apple/.m2/repository/org/codehaus/plexus/plexus-resources/1.0.1/plexus-resources-1.0.1.jar [ERROR] urls[13] = file:/Users/apple/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar [ERROR] urls[14] = file:/Users/apple/.m2/repository/org/codehaus/plexus/plexus-utils/3.0.24/plexus-utils-3.0.24.jar [ERROR] Number of foreign imports: 1 [ERROR] import: Entry[import from realm ClassRealm[maven.api, parent: null]]
solve problem by modify pom.xml .
Thanks
https://github.com/killme2008/aviator/releases/tag/aviator-4.1.2
ERROR] Failed to execute goal net.revelc.code.formatter:formatter-maven-plugin:2.0.1:format (default) on project aviator: Execution default of goal net.revelc.code.formatter:formatter-maven-plugin:2.0.1:format failed: A required class was missing while executing net.revelc.code.formatter:formatter-maven-plugin:2.0.1:format: com/google/common/hash/Hashing [ERROR] ----------------------------------------------------- [ERROR] realm = plugin>net.revelc.code.formatter:formatter-maven-plugin:2.0.1 [ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy [ERROR] urls[0] = file:/Users/apple/.m2/repository/net/revelc/code/formatter/formatter-maven-plugin/2.0.1/formatter-maven-plugin-2.0.1.jar [ERROR] urls[1] = file:/Users/apple/.m2/repository/com/google/guava/guava/20.0/guava-20.0.jar [ERROR] urls[2] = file:/Users/apple/.m2/repository/net/revelc/code/formatter/jdt-core/2.0.1/jdt-core-2.0.1.jar [ERROR] urls[3] = file:/Users/apple/.m2/repository/net/revelc/code/formatter/jsdt-core/2.0.1/jsdt-core-2.0.1.jar [ERROR] urls[4] = file:/Users/apple/.m2/repository/org/apache/commons/commons-digester3/3.2/commons-digester3-3.2.jar [ERROR] urls[5] = file:/Users/apple/.m2/repository/cglib/cglib/2.2.2/cglib-2.2.2.jar [ERROR] urls[6] = file:/Users/apple/.m2/repository/asm/asm/3.3.1/asm-3.3.1.jar [ERROR] urls[7] = file:/Users/apple/.m2/repository/commons-beanutils/commons-beanutils/1.8.3/commons-beanutils-1.8.3.jar [ERROR] urls[8] = file:/Users/apple/.m2/repository/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.jar [ERROR] urls[9] = file:/Users/apple/.m2/repository/org/apache/maven/plugin-tools/maven-plugin-annotations/3.5/maven-plugin-annotations-3.5.jar [ERROR] urls[10] = file:/Users/apple/.m2/repository/org/codehaus/plexus/plexus-io/2.7.1/plexus-io-2.7.1.jar [ERROR] urls[11] = file:/Users/apple/.m2/repository/commons-io/commons-io/2.2/commons-io-2.2.jar [ERROR] urls[12] = file:/Users/apple/.m2/repository/org/codehaus/plexus/plexus-resources/1.0.1/plexus-resources-1.0.1.jar [ERROR] urls[13] = file:/Users/apple/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar [ERROR] urls[14] = file:/Users/apple/.m2/repository/org/codehaus/plexus/plexus-utils/3.0.24/plexus-utils-3.0.24.jar [ERROR] Number of foreign imports: 1 [ERROR] import: Entry[import from realm ClassRealm[maven.api, parent: null]]