- Make sure you configured tomcat 5.5 already
- Check out the petclinic project
- Go to SVN Repositories > framework-dev > sample > springframework > samples
- Right click petclinic > Check out
- Once it's done checking out the project, add it to your tomcat 5.5 server
- Go to the Server view
- Right click Tomcat 5.5 > Add and Remove Projects
- Click petclinic and then the Add button then Finish
To run the app, you need to first start your hsqldb server:
- Open up a shell/cmd prompt
- cd <your workspace>/petclinic/db/hsqldb
- Start the server:
- For windows: server.bat
- For unix/mac: ./server.sh
If tomcat is not already started, start it from the Server view in eclipse.
Open up a broswer and go to http://localhost:8080/petclinic/ or https://localhost:8443/petclinic/ and you'll see the app.