Open crystalwm opened 9 years ago
Execution default-resources of goal org.apache.maven.plugins:maven-resources-plugin:2.4.3:resources failed: An API incompatibility was encountered while executing org.apache.maven.plugins:maven-resources-plugin:2.4.3:resources: java.lang.NoSuchMethodError: org.codehaus.plexus.util.PathTool.getRelativeFilePath(Ljava/lang/String;Ljava/lang/ String;)Ljava/lang/String; ----------------------------------------------------- realm = plugin>org.apache.maven.plugins:maven- resources-plugin:2.4.3 strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy urls[0] = file:/C:/Users/ John/.m2/repository/org/apache/maven/plugins/maven-resources-plugin/2.4.3/maven-resources-plugin-2.4.3.jar urls[1] = file:/C:/Users/John/.m2/repository/org/codehaus/plexus/plexus-utils/1.4.1/plexus-utils-1.4.1.jar urls[2] = file:/C:/Users/ John/.m2/repository/org/apache/maven/reporting/maven-reporting-api/2.0.6/maven-reporting-api-2.0.6.jar urls[3] = file:/ C:/Users/John/.m2/repository/org/apache/maven/doxia/doxia-sink-api/1.0-alpha-7/doxia-sink-api-1.0-alpha-7.jar urls[4] = file:/C:/Users/John/.m2/repository/commons-cli/commons-cli/1.0/commons-cli-1.0.jar urls[5] = file:/C:/Users/John/.m2/ repository/org/codehaus/plexus/plexus-interactivity-api/1.0-alpha-4/plexus-interactivity-api-1.0-alpha-4.jar urls[6] = file:/ C:/Users/John/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar urls[7] = file:/C:/Users/John/.m2/repository/org/apache/ maven/shared/maven-filtering/1.0-beta-4/maven-filtering-1.0-beta-4.jar urls[8] = file:/C:/Users/John/.m2/repository/org/ codehaus/plexus/plexus-interpolation/1.13/plexus-interpolation-1.13.jar Number of foreign imports: 4 import: Entry[import org.sonatype.plexus.build.incremental from realm ClassRealm[plexus.core, parent: null]] import: Entry[import org.codehaus.plexus.util.Scanner from realm ClassRealm[plexus.core, parent: null]] import: Entry[import org.codehaus.plexus.util.AbstractScanner from realm ClassRealm[plexus.core, parent: null]] import: Entry[import from realm ClassRealm[maven.api, parent: null]] ----------------------------------------------------- (org.apache.maven.plugins:maven-resources-plugin:2.4.3:resources:default-resources:process-resources)
maven的版本不对 我如何查看maven的版本?
Failure to transfer org.codehaus.plexus:plexus-utils:pom:2.0.5 from http://repo1.maven.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not transfer artifact org.codehaus.plexus:plexus-utils:pom:2.0.5 from/to central (http:// repo1.maven.org/maven2): No response received after 60000