maven java build path

Discussion in 'Java' started by geo_newbie, Jun 1, 2011.

  1. geo_newbie

    geo_newbie Guest

    Hi

    I'm trying to build the Spring In Action examples (Craig Walls)

    I imported the downloaded examples into Eclipse Helios and STS 2.3.2. The examples build correctly using Maven but the code in SpringSource Tool Suite
    and Eclipse Helios: neither IDE is able to detect the Maven dependencies with the result that the code is full of syntax errors.

    The only jars in the Java Build Path are local jars eg sia2/Chaper03/SpringIdol/lib

    I have enabled Maven Dependency Management ie Maven->Enable Dependency Management.

    I have tried Maven->Update Dependencies
    I have tried Maven->Update Project Configuration

    But in Java Build Path no Maven jars appear (!)

    Could it be to do with Properties->Maven->Active Maven Profiles and settings.xml ??

    (By the way twice I tried to post this question in the Spring Forums but it just didn't appear whatever is going on with that website. If there is a better group than comp.lang.java.programmer please let me know.)

    Thanks in advance
    geo_newbie, Jun 1, 2011
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Marcin Cenkier
    Replies:
    1
    Views:
    5,390
    Marcin Cenkier
    Apr 12, 2006
  2. Axel Bock
    Replies:
    1
    Views:
    2,175
    Thomas Fritsch
    May 10, 2006
  3. nalakainfo
    Replies:
    0
    Views:
    627
    nalakainfo
    Jan 31, 2007
  4. geo_newbie

    Re: maven java build path

    geo_newbie, Jun 2, 2011, in forum: Java
    Replies:
    2
    Views:
    841
    John B. Matthews
    Jun 3, 2011
  5. manos
    Replies:
    0
    Views:
    218
    manos
    Oct 6, 2007
Loading...

Share This Page