Announcement Announcement Module
Collapse
No announcement yet.
Spring mvc template project and Spring Roo project don't Work on Ubuntu Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Spring mvc template project and Spring Roo project don't Work on Ubuntu

    Hi All,

    I have installed STS on linux mint. When I try to create a new spring mvc project I have an error with pom.xml :

    Failure to transfer org.apache.maven:maven-artifactom:2.0.6 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:maven-artifactom:2.0.6 from/to
    central (http://repo1.maven.org/maven2): No response received after 60000
    and

    Multiple annotations found at this line:
    - ArtifactTransferException: Failure to transfer org.springframework:spring-expression:jar:
    3.1.0.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-
    expression:jar:3.1.0.RELEASE from/to central (http://repo1.maven.org/maven2): No response
    received after 60000
    - ArtifactTransferException: Failure to transfer org.springframework:spring-aop:jar:
    3.1.0.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-aop:jar:
    3.1.0.RELEASE from/to central (http://repo1.maven.org/maven2): No response received after
    60000
    - ArtifactTransferException: Failure to transfer org.springframework:spring-beans:jar:
    3.1.0.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-beans:jar:
    3.1.0.RELEASE from/to central (http://repo1.maven.org/maven2): No response received after
    60000
    - ArtifactTransferException: Failure to transfer org.springframework:spring-context-
    support:jar:3.1.0.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-
    context-support:jar:3.1.0.RELEASE from/to central (http://repo1.maven.org/maven2): No
    response received after 60000

    and here is maven version which I added to the path :

    eyemen@eyemen-X51RL ~ $ mvn -version
    Apache Maven 3.0.3 (r1075438; 2011-02-28 18:31:09+0100)
    Maven home: /home/eyemen/springsource/apache-maven-3.0.3
    Java version: 1.7.0_147-icedtea, vendor: Oracle Corporation
    Java home: /usr/lib/jvm/java-7-openjdk-i386/jre
    Default locale: en_US, platform encoding: UTF-8
    OS name: "linux", version: "3.0.0-12-generic", arch: "i386", family: "unix"
    Plz, I need your help

  • #2
    Hi!

    Are you behind a firewall/proxy maybe? This looks a lot like Maven is not able to download the necessary artifacts.
    Please check the proxy settings for Maven (like here, for example: http://info.solomonson.com/content/u...-maven-eclipse).

    HTH,
    Martin

    Comment


    • #3
      Thank You, I will try another network and I will tell you the result

      Comment

      Working...
      X