• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Rob Spoor
  • Devaka Cooray
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • Tim Holloway
Bartenders:
  • Jj Roberts
  • Al Hobbs
  • Piet Souris

SpringSource Tool Suite

 
Ranch Hand
Posts: 115
Eclipse IDE Tomcat Server Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Ranch Hand
Posts: 951
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
reply
    Bookmark Topic Watch Topic
  • New Topic