reset password
Author Message
tloi
Posts: 16
Posted 23:22 Apr 04, 2012 |

after CSNS2 is checked out, there errors in pom.xml like:

Missing artifact org.springframework:spring-webmvc:jar:3.0.5.RELEASE
ArtifactTransferException: Failure to transfer org.springframework:spring-webmvc:jar:3.0.5.RELEASE ....

how can I fix this? thanks.

cysun
Posts: 2935
Posted 08:53 Apr 05, 2012 |

The error message seems to indicate that there was some problem downloading one of the libraries. So

  • Make sure you have a reliable internet connection.
  • Delete the csns2 project in Eclipse.
  • Delete the ${USER}/.m2 folder - on Windows 7 it should be C:\Users\<username>\.m2.
  • Check out csns2 again from the repository.
  • Wait until all background operations are finished - in Eclipse you can see the background operations in the Progress view.
  • Continue with the rest of the setup.