Page 1 of 2 12 LastLast
Results 1 to 10 of 19

Thread: Building Spring 3 Pet Clinic

  1. #1

    Question Building Spring 3 Pet Clinic

    How to build the Pet Clinic sample project that comes with the latest Spring 3 milestone?

    Have Spring spring-framework-3.0.0.M3
    OS: MACOSX
    JDK: Java(TM) SE Runtime Environment (build 1.6.0_07-b06-153)

    Thanks
    javapda on forum

  2. #2
    Join Date
    Apr 2008
    Location
    Philadelphia, US
    Posts
    198

    Arrow

    Hey Javapda,

    You can just download Spring Tool Suite (get 2.1.0 or above), install it, and then "file" --> "import" --> "Spring Tool Suite" --> "sample" -->

    It will give you two choices: "Pet Clinic" + "Hotel Booking App". Make sure PetClinic is checked, and click "Ok".

    STS will do the rest

    Good Luck,
    -- litius

    P.S. These are Spring 3.0 samples
    Humans are stateful and mutable beings that have no problems processing many things concurrently and share state with others + they are usually "coupled"

  3. #3
    Join Date
    Nov 2009
    Posts
    1

    Default

    I just start to learn spring now.

    I installed:
    Windows Vista
    Spring tool suite 3
    Java SDK 1.6

    I tried to open the sts and import a sample project. I believe everything will be downloaded automatically by the sample. But it failed.
    Would anyone can tell me how to run the sample step-by-step?
    thanks a lot.

  4. #4
    Join Date
    Apr 2008
    Location
    Philadelphia, US
    Posts
    198

    Post

    @Vick,


    What is failed? Could not download the project / dependencies or you could not deploy the sample app?
    Humans are stateful and mutable beings that have no problems processing many things concurrently and share state with others + they are usually "coupled"

  5. #5
    Join Date
    Mar 2008
    Posts
    13

    Default Could not get Spring Tool Suite in import

    Hi,
    Spring Tool Suite Version 2.3.0.RELEASE

    Right click Import-> import source is not showing the Spring tool suite option.

  6. #6
    Join Date
    Jun 2008
    Location
    Zurich, Switzerland - Freiburg i. Breisgau, Germany
    Posts
    102

    Default

    I have also installed STS 2.3.2 on Eclipse 3.5 and I don't see an import > STS > sample?

    Does STS no longer support to import the sample projects?
    Tai Truong
    pointsoftware.ch

  7. #7
    Join Date
    Apr 2008
    Location
    Philadelphia, US
    Posts
    198

    Arrow

    @jb_mahadevan, @ttruong,

    It is there under "File" --> "Import" --> "Spring Tool Suite" --> "Sample Projects".

    I am running 2.3.0. I see no reason why it would be removed in 2.3.2. In fact, changelogs do not mention about any change for sample projects.

    /Anatoly
    Humans are stateful and mutable beings that have no problems processing many things concurrently and share state with others + they are usually "coupled"

  8. #8
    Join Date
    Jun 2008
    Location
    Zurich, Switzerland - Freiburg i. Breisgau, Germany
    Posts
    102

    Unhappy

    Trust me in 2.3.2 the is no option to select STS as an import source under File>Import.

    I did a clean install of 2.3.2 by following the instructions by installing the following (7 from 10) STS plugins:
    - Core / dm Server Tools
    - Core / Spring IDE
    - Core /STS
    - Extensions (Incubation) / Spri
    - Extensions / Spring IDE
    - Extensions / STS
    - Integrations / Spring IDE
    Due to another STS (build path) problem I have pointed the STS problem here as well: http://forum.springsource.org/showth...t=86902&page=2

    The problem here is that via STS the samples cannot be installed.

    Nevertheless doing a manuall installation of the petclinic as a project into eclipse I am facing another (third) problem as pointed out here: http://forum.springsource.org/showthread.php?t=87691

    I am getting stucked over several places

    Tai
    Tai Truong
    pointsoftware.ch

  9. #9
    Join Date
    Jun 2008
    Location
    Zurich, Switzerland - Freiburg i. Breisgau, Germany
    Posts
    102

    Default

    I just did a clean install of eclipse-jee-galileo-SR2-win32.zip and STS 2.3.2. Samples import is not possible. Under File>Import I can select only the usual suspects like General, CVS, EJB, Java EE, Maven, ... SVN, Tasks...
    Tai Truong
    pointsoftware.ch

  10. #10
    Join Date
    Apr 2010
    Posts
    1

    Default

    Look in File->Import->Other->Sample Projects
    Should see three projects
    Hotel Booking Reference App
    PetClinic
    SpringTravel

    Version: 2.3.2.RELEASE
    Build Id: 201003230009

Posting Permissions

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