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
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
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"
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.
@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"
Hi,
Spring Tool Suite Version 2.3.0.RELEASE
Right click Import-> import source is not showing the Spring tool suite option.
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
@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"
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
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
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