Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

SpringSource Tool Suite

 
Singh Harmeet
Ranch Hand
Posts: 115
Eclipse IDE Java Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
when i use springsource tool suite , for create the spring program , when to create first spring project using new - > spring template project after this the tool want to download some files from internet , but after the file downloading the tool unable to download some maven plugins , and the error is not resolve. there is following error in pom.xml :-

1. Failure to transfer org.apache.maven.plugins:maven-compiler-plugin:jar:2.3.2 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.apache.maven.plugins:maven-compiler-plugin:jar:2.3.2 from/to central (http://repo1.maven.org/maven2): No response received after
60000

2. ArtifactTransferException: Failure to transfer org.springframework:spring-core:jar:3.0.6.RELEASE 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.springframework:spring-core:jar:3.0.6.RELEASE from/to central (http://repo1.maven.org/maven2): No response received after
60000

3. ArtifactTransferException: Failure to transfer log4j:log4j:jar:1.2.14 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 log4j:log4j:jar:
1.2.14 from/to central (http://repo1.maven.org/maven2): Write error

4. Multiple annotations found at this line:
- Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (execution: default-
compile, phase: compile)
- CoreException: Could not calculate build plan: Plugin org.apache.maven.plugins:maven-compiler-plugin:2.3.2 or one of its dependencies
could not be resolved: Failure to transfer org.apache.maven.plugins:maven-compiler-plugin:jar:2.3.2 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.apache.maven.plugins:maven-compiler-plugin:jar:2.3.2 from/to central (http://repo1.maven.org/maven2): No response received
after 60000
- Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-compiler-plugin:2.3.2:testCompile (execution:
default-testCompile, phase: test-compile)


how to resolve this error?
 
Narendra Dhande
Ranch Hand
Posts: 951
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

The first problem may be the proxy. The STS take the proxy setting from your system proxy, but the maven is not. Set the appropriate maven proxy setting.

If you have direct connection, you can try follwing :
1. Right click on the your project name in the right side pane. Select Maven, then select Update project Configuration and check the box 'Force Update Snapshot/Release'. This will update your project maven dependencies.
2. If the problem still exists, Right click the project, select Run As -> maven Install, This will update your maven plugins.

Thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic