Results 1 to 3 of 3

Thread: noob question / installing STS 2.7.1 / ubuntu 10.10 problems

Hybrid View

  1. #1
    Join Date
    Jul 2011
    Posts
    5

    Default noob question / installing STS 2.7.1 / ubuntu 10.10 problems

    Hi

    I am trying to install STS 2.7.1 on Ubuntu 10.10 and have some problems.
    The installation seems to have gone straightforward, but e.g. trying to create and build a simple Spring Template project gives errors like:

    7/25/11 8:59:16 AM EDT: Missing artifact org.springframework:spring-test:jar:3.0.5.RELEASE:test
    7/25/11 8:59:16 AM EDT: Missing artifact org.springframework:spring-context:jar:3.0.5.RELEASE:compile
    7/25/11 8:59:16 AM EDT: Missing artifact org.springframework:spring-aop:jar:3.0.5.RELEASE:compile
    7/25/11 8:59:16 AM EDT: Missing artifact aopalliance:aopalliance:jar:1.0:compile
    7/25/11 8:59:16 AM EDT: Missing artifact org.springframework:spring-beans:jar:3.0.5.RELEASE:compile
    7/25/11 8:59:17 AM EDT: Missing artifact org.springframework:spring-core:jar:3.0.5.RELEASE:compile
    7/25/11 8:59:17 AM EDT: Missing artifact commons-logging:commons-logging:jar:1.1.1:compile
    7/25/11 8:59:17 AM EDT: Missing artifact org.springframework:spring-expression:jar:3.0.5.RELEASE:compile
    7/25/11 8:59:17 AM EDT: Missing artifact org.springframework:spring-asm:jar:3.0.5.RELEASE:compile

    What am I doing wrong?

    Thank you

  2. #2
    Join Date
    Jul 2011
    Posts
    5

    Default

    When I try to import and build sample projects from "Spring Recipes" I also get errors like:

    [INFO] Scanning for projects...
    [INFO] Reactor build order:
    [INFO] Integrating Spring and Other Web Frameworks
    [INFO] Integrating Spring and Other Web Frameworks - Servlets
    [INFO] Integrating Spring and Other Web Frameworks - DWR
    [INFO] Integrating Spring and Other Web Frameworks - JSF
    [INFO] Integrating Spring and Other Web Frameworks - Struts
    [INFO] ------------------------------------------------------------------------
    [INFO] Building Integrating Spring and Other Web Frameworks
    [INFO] task-segment: [clean]
    [INFO] ------------------------------------------------------------------------
    Downloading: http://repo1.maven.org/maven2/org/ap...plugin-2.2.pom
    [WARNING] Unable to get resource 'org.apache.maven.plugins:maven-clean-pluginom:2.2' from repository central (http://repo1.maven.org/maven2): Error transferring file: Connection refused

    I started to wonder if I have to set an HTTP proxy variable for STS somewhere other than in system http_proxy environment variable? Otherwise on this machine, other apps (apt-get, browser, etc.) seem to get out through the HTTP proxy/firewall just fine (and I have set this env variable).

    Thank you

  3. #3

    Default

    STS uses the system proxy setting if the proxy provider is set to "Native" in the preferences under General > Network Connections.

    For m2e, which provides the Maven integration for STS, you need to set separate proxy settings that are configured through Maven's setting.xml:

    http://m2eclipse.sonatype.org/m2eclipse-faq.html#4 .
    http://maven.apache.org/guides/mini/guide-proxies.html

    HTH,

    Steffen
    Steffen Pingel
    --
    Committer, SpringSource Tool Suite
    Senior Developer, Tasktop

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •