I am first to use Spring Tool Suite,Version: 3.1.0.RELEASE, File -> New -> Spring Template project,then it download some bytes from internet. But I find pom.xml file is marked by red sign. The error message is follows:
1.Project build error: 'dependencies.dependency.groupId' for null::jar is missing.
2.Project build error: 'dependencies.dependency.artifactId' for null::jar is missing.
3.null (org.apache.maven.plugins:maven-resources-plugin:2.5:resources:default-resources:process-resources)
4.Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-compiler-plugin:2.3.2:testCompile (execution: default-testCompile, phase: test-compile)
5.null (org.apache.maven.plugins:maven-resources-plugin:2.5:testResources:default-testResources:process-test-resources)
6.CoreException: Could not get the value for parameter compilerId for plugin execution default-compile: PluginResolutionException: Plugin org.apache.maven.plugins:maven-compiler-plugin:2.3.2 or one of its dependencies could not be resolved: Failure to transfer org.codehaus.plexus:plexus-utils:jar:2.0.5 from http://repo.maven.apache.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:jar:2.0.5 from/to central (http://repo.maven.apache.org/maven2): connection timed out to http://repo.maven.apache.org/maven2/...tils-2.0.5.jar
7.Project build error: 'dependencies.dependency.version' for null::jar is missing.
8.CoreException: Could not get the value for parameter compilerId for plugin execution default-testCompile: PluginResolutionException: Plugin org.apache.maven.plugins:maven-compiler-plugin:2.3.2 or one of its dependencies could not be resolved: Failure to transfer org.codehaus.plexus:plexus-utils:jar:2.0.5 from http://repo.maven.apache.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:jar:2.0.5 from/to central (http://repo.maven.apache.org/maven2): connection timed out to http://repo.maven.apache.org/maven2/...tils-2.0.5.jar
Then I use quick fixes avaliable url to Install m2e connectors,I choose m2e-subversive to install. After installed it,pom.xle still error,like follows:
1.Failure to transfer org.codehaus.plexus:plexus-utils:jar:2.0.5 from http://repo.maven.apache.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:jar:2.0.5 from/to central (http://repo.maven.apache.org/maven2): connection timed out to http://repo.maven.apache.org/maven2/...tils-2.0.5.jar
2.Execution default-resources of goal org.apache.maven.plugins:maven-resources-plugin:2.5:resources failed: Plugin org.apache.maven.plugins:maven-resources-plugin:2.5 or one of its dependencies could not be resolved: Failure to transfer org.codehaus.plexus:plexus-utils:jar:2.0.5 from http://repo.maven.apache.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:jar:2.0.5 from/to central (http://repo.maven.apache.org/maven2): connection timed out to http://repo.maven.apache.org/maven2/...tils-2.0.5.jar (org.apache.maven.plugins:maven-resources-plugin:2.5:resources:default-resources:process-resources)
3.Execution default-testResources of goal org.apache.maven.plugins:maven-resources-plugin:2.5:testResources failed: Plugin org.apache.maven.plugins:maven-resources-plugin:2.5 or one of its dependencies could not be resolved: Failure to transfer org.codehaus.plexus:plexus-utils:jar:2.0.5 from http://repo.maven.apache.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:jar:2.0.5 from/to central (http://repo.maven.apache.org/maven2): connection timed out to http://repo.maven.apache.org/maven2/...tils-2.0.5.jar (org.apache.maven.plugins:maven-resources-plugin:2.5:testResources:default-testResources:process-test-resources)
How to fix above errors? I search Google,but I still can't find the answer. Do Anyone know how to solve it?


Reply With Quote
